Method | Description | |
---|---|---|
ConsoleLogger ( |
Initializes a new instance of the ConsoleLogger class.
|
|
Debug ( string message ) : void |
Write an entry that helps when debugging code.
|
|
Debug ( string message, |
Write an entry that helps when debugging code.
|
|
Error ( string message ) : void |
Something went wrong, but the application do not need to die. The current thread/request cannot continue as expected.
|
|
Error ( string message, |
Something went wrong, but the application do not need to die. The current thread/request cannot continue as expected.
|
|
Fatal ( string message ) : void |
Something went very wrong, application might not recover.
|
|
Fatal ( string message, |
Something went very wrong, application might not recover.
|
|
GetColor ( LogLevel level ) : ConsoleColor |
Get color for the specified log level
|
|
Info ( string message ) : void |
Informational message, needed when helping customer to find a problem.
|
|
Info ( string message, |
Informational message, needed when helping customer to find a problem.
|
|
Trace ( string message ) : void |
Write a entry needed when following through code during hard to find bugs.
|
|
Trace ( string message, |
Write a entry needed when following through code during hard to find bugs.
|
|
Warning ( string message ) : void |
Something is not as we expect, but the code can continue to run without any changes.
|
|
Warning ( string message, |
Something is not as we expect, but the code can continue to run without any changes.
|
|
Write ( LogLevel level, string message ) : void |
Write an entry
|
|
Write ( LogLevel level, string message, |
Write an entry
|
public ConsoleLogger ( |
||
loggingType | Type being logged. | |
filter | ILogFilter | Filter used to decide which entries to log. |
return | System |
public Debug ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
return | void |
public Error ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
return | void |
public Fatal ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
return | void |
public static GetColor ( LogLevel level ) : ConsoleColor | ||
level | LogLevel | Level for the log entry |
return | ConsoleColor |
public Info ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
return | void |
public Trace ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
return | void |
public Warning ( string message ) : void | ||
message | string | Log message |
return | void |
public Warning ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
return | void |
public Write ( LogLevel level, string message ) : void | ||
level | LogLevel | Importance of the log message |
message | string | The message. |
return | void |
public Write ( LogLevel level, string message, |
||
level | LogLevel | Importance of the log message |
message | string | The message. |
exception | ||
return | void |