LogManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manages log sinks
public class LogManager
type LogManager = class
Public Class LogManager
- Inheritance
-
LogManager
- Derived
Constructors
LogManager() |
Fields
MAX_LOG_MESSAGE_SIZE |
Maximum length of log messages. Log messages about this size will be truncated. |
Properties
BulkMessageInterval |
Time limit for bulk message output.
If the same log code is written more than |
BulkMessageLimit |
Count limit for bulk message output.
If the same log code is written more than |
IsInitialized |
Whether the Orleans Logger infrastructure has been previously initialized. |
LogConsumers |
The set of ILogConsumer references to write log events to. |
TelemetryConsumers |
The set of ITelemetryConsumer references to write telemetry events to. |
Methods
AddTraceLevelOverride(String, Severity) |
Add a new trace level override for a particular logger, beyond the default log levels. Any previous trace levels for other Logger's will not be changed. |
Initialize(ITraceConfiguration, Boolean) |
Initialize the Orleans Logger subsystem in this process / app domain with the specified configuration settings. |
RemoveTraceLevelOverride(String) |
Remove a new trace level override for a particular logger. The log level for that logger will revert to the current global default setings. Any previous trace levels for other Logger's will not be changed. |
SetAppLogLevel(Severity) |
Set the default log level of all Grain and Application Loggers. |
SetRuntimeLogLevel(Severity) |
Set the default log level of all Runtime Loggers. |
SetTraceLevelOverrides(IList<Tuple<String,Severity>>) |
Set new trace level overrides for particular loggers, beyond the default log levels. Any previous trace levels for particular Logger's will be discarded. |
UnInitialize() |
Uninitialize the Orleans Logger subsystem in this process / app domain. |