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