public static void PrintDbg(string msg) { if (!_enabled) { return; } ColorIO.WriteLineClr(msg, ConsoleColor.DarkMagenta); }
public void PrintNext() { if (_errorDetails.Count == 0) { return; } var errorDetails = Pop(); var cc = errorDetails.ErrorCode < ErrorCode.Error ? ConsoleColor.DarkYellow : ConsoleColor.DarkRed; ColorIO.WriteLineClr(errorDetails.Message, cc); }
public static void PrintVerbose(string msg, string shortMessage, string longMessage) { switch (_verboseLevel) { case VERBOSE_LEVEL.Low: break; case VERBOSE_LEVEL.Mid: ColorIO.WriteLineClr(shortMessage, ConsoleColor.Black); break; case VERBOSE_LEVEL.High: ColorIO.WriteLineClr(shortMessage, ConsoleColor.Black); break; } }