Пример #1
0
 /// <summary>
 /// 调试记录
 /// </summary>
 /// <param name="Message"></param>
 /// <param name="Data"></param>
 /// <param name="LogType"></param>
 /// <param name="IsUnUserAuthentication">是否不经过用户验证</param>
 public static void Debug(string Message, object Data = null, string LogType = "系统", bool IsUnUserAuthentication = false)
 {
     try
     {
         if (LogLevel.CanLog("debug"))
         {
             LogContent content = CreateLogContent("debug", Message, Data, LogType, IsUnUserAuthentication);
             LogDbHelper.Write(content.Time.ToString("yyyyMMdd") + "_debug", content);
         }
     }
     catch { }
 }