Method | Description | |
---|---|---|
Action ( string action ) : void | ||
ActionFail ( ) : void |
Log a colored [Fail]
|
|
ActionPass ( ) : void |
Log a colored [Pass]
|
|
ActionResult ( bool success ) : void | ||
Debug ( string caller, string message ) : void | ||
Divider ( ) : void |
Write a divider to the log
|
|
Entry ( Level level, string caller, string message ) : void |
Entry a message
|
|
Entry ( string caller, string message ) : void |
Entry a message
|
|
Error ( string caller, |
||
Error ( string caller, string message ) : void | ||
Header ( string text ) : void |
Write a header to the log
|
|
NewLine ( ) : void |
Write a new line to the log
|
|
PaddedHeader ( string text ) : void |
Create one header with a divider above and below it
|
|
UnhandledException ( object sender, |
||
Write ( Level level, string text, ConsoleColor color = ConsoleColor.White ) : void |
Write text to the log
|
|
Write ( string text, ConsoleColor color = ConsoleColor.White ) : void |
Write text to the log
|
|
WriteLine ( Level level, string line, ConsoleColor color = ConsoleColor.White ) : void |
Write a line to the log
|
|
WriteLine ( string line, ConsoleColor color = ConsoleColor.White ) : void |
Write a line to the log
|
Method | Description | |
---|---|---|
CleanLog ( |
Wipe the log
|
|
Log ( ) : System | ||
MessageToJSON ( string message ) : Newtonsoft.Json.Linq.JObject |
public static Action ( string action ) : void | ||
action | string | |
return | void |
public static ActionResult ( bool success ) : void | ||
success | bool | |
return | void |
public static Debug ( string caller, string message ) : void | ||
caller | string | |
message | string | |
return | void |
public static Entry ( Level level, string caller, string message ) : void | ||
level | Level | The logging level |
caller | string | The name of the calling method or class |
message | string | The message to log |
return | void |
public static Entry ( string caller, string message ) : void | ||
caller | string | The name of the calling method or class |
message | string | The message to log |
return | void |
public static Error ( string caller, |
||
caller | string | |
ex | ||
return | void |
public static Error ( string caller, string message ) : void | ||
caller | string | |
message | string | |
return | void |
public static Header ( string text ) : void | ||
text | string | The text to put in the center of the header |
return | void |
public static PaddedHeader ( string text ) : void | ||
text | string | The text to put in the center of the header |
return | void |
public static UnhandledException ( object sender, |
||
sender | object | |
ex | ||
return | void |
public static Write ( Level level, string text, ConsoleColor color = ConsoleColor.White ) : void | ||
level | Level | The logging level |
text | string | The text to write |
color | ConsoleColor | The color of the text if in Console mode, White will use the default color |
return | void |
public static Write ( string text, ConsoleColor color = ConsoleColor.White ) : void | ||
text | string | The text to write |
color | ConsoleColor | The color of the text if in Console mode |
return | void |
public static WriteLine ( Level level, string line, ConsoleColor color = ConsoleColor.White ) : void | ||
level | Level | The logging level |
line | string | The line to write |
color | ConsoleColor | The color of the text if in Console mode |
return | void |
public static WriteLine ( string line, ConsoleColor color = ConsoleColor.White ) : void | ||
line | string | The line to write |
color | ConsoleColor | The color of the text if in Console mode |
return | void |