Logger Methods |
The Logger type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsEnabled |
Determines if logging is enabled for the specified level.
| |
ToString | (Inherited from Object.) | |
Write(Object) |
Writes the specified message to appenders.
| |
Write(String) |
Writes the specified message to appenders.
| |
Write(String, Exception) |
Writes the specified message and exception to appenders.
| |
Write(String, Exception, LogLevel) |
Writes the specified message and exception to appenders.
| |
WriteFormat |
Writes the message with specified format to appenders.
| |
WriteIf(Boolean, Object) |
Writes the specified message to appenders if condition is true.
| |
WriteIf(Boolean, String) |
Writes the specified message to appenders if condition is true.
| |
WriteIf(LogLevel, String) |
Writes the specified message if the log level is enabled.
| |
WriteIf(Boolean, Object, Exception) |
Writes the specified message and exception to appenders if condition is true.
| |
WriteIf(LogLevel, String, Exception) |
Writes the specified message and exception if the log level is enabled.
| |
WriteLine |
Writes the empty line to appenders.
| |
WriteLine(Object) |
Writes the specified message to appenders.
| |
WriteLine(String) |
Writes the specified message to appenders.
|