Log Class |
Namespace: FM.IceLink
The Log type exposes the following members.
Name | Description | |
---|---|---|
IsDebugEnabled |
Gets a value indicating whether logging is enabled for debug-level messages.
| |
IsErrorEnabled |
Gets a value indicating whether logging is enabled for error-level messages.
| |
IsFatalEnabled |
Gets a value indicating whether logging is enabled for fatal-level messages.
| |
IsInfoEnabled |
Gets a value indicating whether logging is enabled for info-level messages.
| |
IsVerboseEnabled |
Gets a value indicating whether logging is enabled for verbose-level messages.
| |
IsWarnEnabled |
Gets a value indicating whether logging is enabled for warn-level messages.
| |
LogLevel |
Gets or sets the default log level.
| |
Provider |
Gets or sets the first log provider.
|
Name | Description | |
---|---|---|
Debug(String) |
Logs a debug-level message.
| |
Debug(String, Exception) |
Logs a debug-level message.
| |
Equals | (Inherited from Object.) | |
Error(String) |
Logs an error-level message.
| |
Error(String, Exception) |
Logs an error-level message.
| |
Fatal(String) |
Logs a fatal-level message.
| |
Fatal(String, Exception) |
Logs a fatal-level message.
| |
Finalize | (Inherited from Object.) | |
Flush |
Blocks until all logs are written out.
| |
GetHashCode | (Inherited from Object.) | |
GetLogger(String) |
Get a logger for a specific Tag.
| |
GetLogger(Type) |
Get a logger for a specific Tag. The tag is taken from the class namespace and name.
| |
GetLogger(String, LogLevel) |
Get a logger for a specific Tag.
| |
GetLogger(Type, LogLevel) |
Get a logger for a specific Tag. The tag is taken from the class namespace and name.
| |
GetType | (Inherited from Object.) | |
Info(String) |
Logs an info-level message.
| |
Info(String, Exception) |
Logs an info-level message.
| |
MemberwiseClone | (Inherited from Object.) | |
RegisterProvider |
Register a log provider to be logged to.
| |
RemoveProvider |
Removes a log provider from the list.
| |
SetTagOverride |
Override the default log level for a specific tag.
| |
ToString | (Inherited from Object.) | |
Verbose(String) |
Logs a verbose-level message.
| |
Verbose(String, Exception) |
Logs a verbose-level message.
| |
Warn(String) |
Logs a warn-level message.
| |
Warn(String, Exception) |
Logs a warn-level message.
| |
WriteLine |
Writes a line of text to the log.
|