示例#1
0
 private static void LogException(Exception ex, string message = "")
 {
     using (ColoredConsole.WithColor(ConsoleColor.Red))
     {
         Logger.Error(ex, message);
         Console.WriteLine(ex.Message);
     }
 }