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
@@ -127,7 +127,7 @@ namespace NzbDrone.Core.Download
}
catch (Exception ex)
{
_logger.WarnException(string.Format("[{0}] Error occurred while trying to delete data from '{1}'.", item.Title, item.OutputPath), ex);
_logger.Warn(ex, string.Format("[{0}] Error occurred while trying to delete data from '{1}'.", item.Title, item.OutputPath));
}
}
@@ -141,7 +141,7 @@ namespace NzbDrone.Core.Download
}
catch (Exception ex)
{
_logger.ErrorException("Test aborted due to exception", ex);
_logger.Error(ex, "Test aborted due to exception");
failures.Add(new ValidationFailure(string.Empty, "Test was aborted due to an error: " + ex.Message));
}