Example #1
0
 public static void Write(string level, string thread, string ip, string recorder, string _event, string message, string date)
 {
     try
     {
         LogDB.Write(level, thread, ip, recorder, _event, message, date);
     }
     catch (Exception ex)
     {
         //LogManager.ResetConfiguration();
     }
 }
Example #2
0
 public static void Write(string level, string thread, string ip, string recorder, string _event, string message, string date)
 {
     try
     {
         LogDB.Write(level, thread, ip, recorder, _event, message, date);
     }
     catch (Exception ex)
     {
         Console.WriteLine("写入日志时发生异常:" + ex.ToString());
         //LogManager.ResetConfiguration();
     }
 }
Example #3
0
 public void Write(string level, string thread, string ip, string recorder, string _event, string message, DateTime date)
 {
     LogDB.Write(level, thread, ip, recorder, _event, message, date);
 }