Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="message"></param>
 /// <param name="logType"></param>
 /// <param name="userName"></param>
 public static void WriteLogToDB(string message, LogType logType, string userName)
 {
     WriteLogToDB(message, logType.ToString(), userName);
 }
Exemple #2
0
 /// <summary>
 /// 写日志到文本
 /// </summary>
 /// <param name="message"></param>
 /// <param name="logType"></param>
 public static void WriteLogToTxt(string message, LogType logType)
 {
     WriteLogToTxt(message, logType.ToString());
 }
Exemple #3
0
 /// <summary>
 /// 写日志记录到数据库
 /// </summary>
 /// <param name="message">错误日志信息</param>
 /// <param name="logType">错误日志类型</param>
 public static void WriteLogToDB(string message, LogType logType)
 {
     WriteLogToDB(message, logType, "System");
 }