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); }
public static void Error(Exception exception) { NLogUtil.WriteFileLog(NLog.LogLevel.Error, LogType.Other, "", exception); NLogUtil.WriteDbLog(NLog.LogLevel.Error, LogType.Other, "", exception); }