Свойство | Type | Description | |
---|---|---|---|
DefaultConsoleColor | ConsoleColor | ||
OutputToConsole | LogLevel |
Свойство | Type | Description | |
---|---|---|---|
_Bot | string | ||
_FileStream |
Méthode | Description | |
---|---|---|
Debug ( string data ) : void | ||
Dispose ( ) : void | ||
Error ( string data ) : void | ||
Info ( string data ) : void | ||
Interface ( string data ) : void | ||
Log ( string logFile, string botName = "", LogLevel output = LogLevel.Info ) : System | ||
Success ( string data ) : void | ||
Warn ( string data ) : void |
Méthode | Description | |
---|---|---|
_LogColor ( LogLevel level ) : ConsoleColor | ||
_LogLevel ( LogLevel level ) : string | ||
_OutputLine ( LogLevel level, string line ) : void | ||
_OutputLineToConsole ( LogLevel level, string line ) : void |
public Log ( string logFile, string botName = "", LogLevel output = LogLevel.Info ) : System | ||
logFile | string | |
botName | string | |
output | LogLevel | |
Résultat | System |
protected _LogColor ( LogLevel level ) : ConsoleColor | ||
level | LogLevel | |
Résultat | ConsoleColor |
protected _LogLevel ( LogLevel level ) : string | ||
level | LogLevel | |
Résultat | string |
protected _OutputLine ( LogLevel level, string line ) : void | ||
level | LogLevel | |
line | string | |
Résultat | void |
protected _OutputLineToConsole ( LogLevel level, string line ) : void | ||
level | LogLevel | |
line | string | |
Résultat | void |
public ConsoleColor DefaultConsoleColor | ||
Résultat | ConsoleColor |