Esempio n. 1
0
        private void Output(string message, bool isError = false)
        {
            if (IsQuiet)
            {
                return;
            }

            ConsoleDebug.Write(message, isError);
        }
Esempio n. 2
0
        private static void PrintException(Exception e)
        {
            Exception?CurrentException = e;

            do
            {
                ConsoleDebug.Write("***************");
                ConsoleDebug.Write(CurrentException.Message);

                string?StackTrace = CurrentException.StackTrace;
                if (StackTrace != null)
                {
                    ConsoleDebug.Write(StackTrace);
                }

                CurrentException = CurrentException.InnerException;
            }while (CurrentException != null);
        }