메소드 | 설명 | |
---|---|---|
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. |
리턴 | System |
public Debug ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
리턴 | void |
public Error ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
리턴 | void |
public Fatal ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
리턴 | void |
public static GetColor ( LogLevel level ) : ConsoleColor | ||
level | LogLevel | Level for the log entry |
리턴 | ConsoleColor |
public Info ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
리턴 | void |
public Trace ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
리턴 | void |
public Warning ( string message, |
||
message | string | Log message |
err | Exception being logged. | |
리턴 | void |
public Write ( LogLevel level, string message ) : void | ||
level | LogLevel | Importance of the log message |
message | string | The message. |
리턴 | void |
public Write ( LogLevel level, string message, |
||
level | LogLevel | Importance of the log message |
message | string | The message. |
exception | ||
리턴 | void |