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