Beispiel #1
0
        public static void PrintDbg(string msg)
        {
            if (!_enabled)
            {
                return;
            }

            ColorIO.WriteLineClr(msg, ConsoleColor.DarkMagenta);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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;
            }
        }