コード例 #1
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);
 }
コード例 #2
0
 public static void Error(Exception exception)
 {
     NLogUtil.WriteFileLog(NLog.LogLevel.Error, LogType.Other, "", exception);
     NLogUtil.WriteDbLog(NLog.LogLevel.Error, LogType.Other, "", exception);
 }