コード例 #1
0
ファイル: Logger.cs プロジェクト: xmillies/PokemonGo-Bot-1
 public static void Error(string str)
 {
     if (type == 0)
     {
         LoggerC.Error(str);
     }
     if (type == 1)
     {
         LoggerPanel.Error(str);
     }
 }
コード例 #2
0
 public static void Error(string str)
 {
     if (type == 0)
     {
         LoggerC.Error(str);
     }
     else
     {
         try {
             if (panel != null)
             {
                 panel.Error(str);
             }
         } catch (Exception ex1) {
             AddLog(str + ex1.ToString());
         }
     }
 }