Updated NLog to v4.2.3.

This commit is contained in:
Taloth Saldono
2016-02-11 22:13:42 +01:00
parent e01b2ef25c
commit 6a90035a4c
144 changed files with 305 additions and 5579 deletions
@@ -87,7 +87,7 @@ namespace NzbDrone.Core.Download.TrackedDownloads
}
catch (Exception ex)
{
_logger.WarnException("Unable to retrieve queue and history items from " + downloadClient.Definition.Name, ex);
_logger.Warn(ex, "Unable to retrieve queue and history items from " + downloadClient.Definition.Name);
}
foreach (var downloadItem in downloadClientHistory)
@@ -135,7 +135,7 @@ namespace NzbDrone.Core.Download.TrackedDownloads
}
catch (Exception e)
{
_logger.ErrorException("Couldn't process tracked download " + downloadItem.Title, e);
_logger.Error(e, "Couldn't process tracked download " + downloadItem.Title);
}
return trackedDownloads;