示例#1
0
 public void Debug(object message, Exception exception)
 {
     if (IsDebugEnabled)
     {
         log.DebugException(message.ToString(), exception);
     }
 }
 /// <summary>
 /// 输出错误日志 Debug 级别。
 /// </summary>
 /// <param name="msg">错误消息体</param>
 /// <param name="ex">错误类</param>
 public void Debug(object msg, Exception ex)
 {
     log4.DebugException(EncryptPassword(msg), ex);
 }
示例#3
0
 public static void Debug(string message, Exception exception)
 {
     LogHelper.DebugException(message, exception);
 }