Property | Type | Description | |
---|---|---|---|
WriteLock | object |
Method | Description | |
---|---|---|
Close ( ) : bool |
Close the underlying connection write stream.
|
|
Debug ( string message ) : Task |
Log a debug-level message
|
|
Error ( string message ) : Task |
Log an error-level message
|
|
GetInstance ( ) : Logger | ||
Info ( string message ) : Task |
Log an info-level message
|
|
WTF ( string message ) : Task |
Log a WTF-level message
|
|
Warning ( string message ) : Task |
Log a warning-level message
|
Method | Description | |
---|---|---|
CheckFile ( ) : void |
Checks file to confirm correct log file.
|
|
GetColor ( Level level ) : ConsoleColor |
Get the console color associated with this log level
|
|
Log ( Level level, string message ) : bool |
Log given message. Example of a log message: [2008-04-10 13:30:00Z] WARNING: this is the message
|
|
Logger ( ) : System |
public Debug ( string message ) : Task |
||
message | string | the message to log |
return | Task |
public Error ( string message ) : Task |
||
message | string | the message to log |
return | Task |
public Info ( string message ) : Task |
||
message | string | the message to log |
return | Task |
public WTF ( string message ) : Task |
||
message | string | the message to log |
return | Task |
public Warning ( string message ) : Task |
||
message | string | the message to log |
return | Task |