Log() private static method

private static Log ( object message, ConsoleColor color ) : void
message object
color ConsoleColor
return void
示例#1
0
 public void LogWarning(object message)
 {
     NetConsoleLogger.Log("WARNING: " + message, ConsoleColor.Yellow);
 }
示例#2
0
 public void LogMessage(object message)
 {
     NetConsoleLogger.Log("INFO: " + message, ConsoleColor.Gray);
 }
示例#3
0
 public void LogError(object message)
 {
     NetConsoleLogger.Log("ERROR: " + message, ConsoleColor.Red);
 }