Beispiel #1
0
 public static async System.Threading.Tasks.Task ErrorAsync(string message)
 {
     await System.Threading.Tasks.Task.Factory.StartNew(
         async() =>
     {
         using (LogColor.Set(ERROR_COCLOR))
         {
             await LogAsync($"Error: {message}");
         }
     });
 }
Beispiel #2
0
 public static async System.Threading.Tasks.Task InfoAsync(string message)
 {
     await System.Threading.Tasks.Task.Factory.StartNew(
         async() =>
     {
         using (LogColor.Set(INFO_COCLOR))
         {
             await LogAsync($"INFO: {message}");
         }
     });
 }