Exemplo n.º 1
0
 /// <summary>
 /// 保存错误日志
 /// </summary>
 /// <param name="logs">日志信息</param>
 public static void SaveErrorLog(IEnumerable <ErrorLog> logs)
 {
     if (logs.IsNullOrEmpty())
     {
         return;
     }
     errorLogRepository.Save(logs.ToArray());
 }