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