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
+2 -2
View File
@@ -63,7 +63,7 @@ namespace NzbDrone.Core.Indexers
catch (Exception itemEx)
{
itemEx.Data.Add("Item", item.Title());
_logger.ErrorException("An error occurred while processing feed item from " + indexerResponse.Request.Url, itemEx);
_logger.Error(itemEx, "An error occurred while processing feed item from " + indexerResponse.Request.Url);
}
}
@@ -277,7 +277,7 @@ namespace NzbDrone.Core.Indexers
}
catch (Exception ex)
{
_logger.DebugException(string.Format("Failed to parse Uri {0}, ignoring.", value), ex);
_logger.Debug(ex, string.Format("Failed to parse Uri {0}, ignoring.", value));
return null;
}
}