Example #1
0
 public static void Error(Exception exception)
 {
     NLogUtil.WriteFileLog(NLog.LogLevel.Error, LogType.Other, "", exception);
     NLogUtil.WriteDbLog(NLog.LogLevel.Error, LogType.Other, "", exception);
 }
Example #2
0
 public static void Error(string title, Exception exception)
 {
     NLogUtil.WriteFileLog(NLog.LogLevel.Error, LogType.Other, title, exception);
     NLogUtil.WriteDbLog(NLog.LogLevel.Error, LogType.Other, title, exception);
 }
Example #3
0
 public static void Trace(string title)
 {
     NLogUtil.WriteFileLog(NLog.LogLevel.Error, LogType.Other, title);
     //NLogUtil.WriteDbLog(NLog.LogLevel.Error, LogType.Other, title);
 }