Logger Class |
Namespace: Crosser.Logger
public class Logger : ILogger
The Logger type exposes the following members.
Name | Description | |
---|---|---|
Debug(String, Object) |
Log to Serilog sinks using the debug level
| |
Debug(Exception, String, Object) |
Log to Serilog sinks using the debug level
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Error(String, Object) |
Log to Serilog sinks using the error level
| |
Error(Exception, String, Object) |
Log to Serilog sinks using the error level
| |
Fatal(String, Object) |
Log to Serilog sinks using the fatal level
| |
Fatal(Exception, String, Object) |
Log to Serilog sinks using the fatal level
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLogEventLevel |
Return the current LogEventLevel | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Information(String, Object) |
Log to Serilog sinks using the information level
| |
Information(Exception, String, Object) |
Log to Serilog sinks using the information level
| |
LevelEnabled |
Check if a specific LogEventLevel is enabled
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetLogEventLevel |
Sets the LogEventLevel | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Warning(String, Object) |
Log to Serilog sinks using the warning level
| |
Warning(Exception, String, Object) |
Log to Serilog sinks using the warning level
| |
Verbose(String, Object) |
Log to Serilog sinks using the verbose level
| |
Verbose(Exception, String, Object) |
Log to Serilog sinks using the verbose level
|
Name | Description | |
---|---|---|
LogSwicth |
The log-switch can be used to change LogEventLevel at runtime.
Change by calling SetLogEventLevel(LogEventLevel) |