Example #1
0
 public static void Warning(string str)
 {
     if (type == 0)
     {
         LoggerC.Warning(str);
     }
     if (type == 1)
     {
         LoggerPanel.Warning(str);
     }
 }
Example #2
0
 public static void Warning(string str)
 {
     if (type == 0)
     {
         LoggerC.Warning(str);
     }
     else
     {
         try {
             if (panel != null)
             {
                 panel.Warning(str);
             }
         } catch (Exception ex1) {
             AddLog(str + ex1.ToString());
         }
     }
 }