/// <summary> /// 记录可预料的异常日志 /// </summary> /// <param name="info"></param> public static void Error(LogModel model, Exception ex) { log.Error(model, ex); }
/// <summary> /// 记录一般日志 /// </summary> /// <param name="info"></param> public static void Info(LogModel model) { log.Info(model); }
/// <summary> /// 记录可预料的异常日志 /// </summary> public static void Warn(LogModel model, Exception ex) { log.Warn(model, ex); }
/// <summary> /// 调试信息 /// </summary> /// <param name="info"></param> public static void Debug(LogModel model) { log.Debug(model); }