private static Log ( object message, ConsoleColor color ) : void | ||
message | object | |
color | ConsoleColor | |
Результат | void |
public void LogWarning(object message) { RailConsoleLogger.Log("WARNING: " + message, ConsoleColor.Yellow); }
public void LogMessage(object message) { RailConsoleLogger.Log("INFO: " + message, ConsoleColor.Gray); }
public void LogError(object message) { RailConsoleLogger.Log("ERROR: " + message, ConsoleColor.Red); }