The following tables list the members exposed by Logger.
Public Constructors
Name | Description | |
---|---|---|
Logger | Initializes a new instance of the Logger class. |
Public Methods
Name | Description | |
---|---|---|
Debug | Logs the specified entry as a LogType.Debug. | |
Error | Logs the specified entry as a LogType.Error. | |
Exception | Logs the specified entry as an exception. | |
GetLogger | Gets the a logger with the specified name. | |
Info | Logs the specified entry as a LogType.Information. | |
Log | Logs the specified entry. | |
Warning | Logs the specified entry as a LogType.Warning. |
Protected Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the Logger. | |
OnLogged | Raises the Logged event. | |
OnLogging | Raises the Logging event. |
Public Properties
Name | Description | |
---|---|---|
Enabled | Gets a value indicating whether the logging is enabled. | |
EnableThreading | Gets a value indicating whether the logging will be handled in its own thread. | |
Filter | Gets or sets the filter that is used to determine the types of messages that are logged. | |
Global | Gets the global logger. | |
LoggingChannels | Gets the logging channels. |
Public Events
Name | Description | |
---|---|---|
Logged | Occurs after a message is logged. | |
Logging | Occurs before a message is logged. |
Public Fields
Name | Description | |
---|---|---|
StackTraceKey | Key used to store the stack trace information in LogEntry custom information. |
See Also