private static void WriteMessage() { if (!string.IsNullOrEmpty(_message)) { var d = Flogger.GetFlogDetail(_message, null); Flogger.WriteDiagnostic(d); WriteColor($"\n {_message}", ConsoleColor.DarkGreen); _message = ""; } }
private static void WriteError() { if (!string.IsNullOrEmpty(_error)) { var d = Flogger.GetFlogDetail(_error, null); Flogger.WriteError(d); WriteColor($"\n Error: {_error}", ConsoleColor.DarkRed); _error = ""; } }