NLog 4.5.4

NLog for .NET Framework and .NET Standard

NLog is a logging platform for .NET with rich log routing and management capabilities.
NLog supports traditional logging, structured logging and the combination of both.

Supported platforms:

- .NET Framework 3.5, 4, 4.5, 4.6 & 4.7
- .NET Standard 1.3+ and 2.0+;
- .NET Framework 4 client profile
- Xamarin Android, Xamarin iOs
- UWP
- Windows Phone 8
- Silverlight 4 and 5
- Mono 4

For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

There is a newer version of this package available.
See the version list below for details.
Install-Package NLog -Version 4.5.4
dotnet add package NLog --version 4.5.4
paket add NLog --version 4.5.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## Fixes

- Faulty invalidate of FormattedMessage when getting PropertiesDictionary (@snakefoot)
- Fix: NLog.config build-action and copy for non-core projects, it's now "copy if newer" (@304NotModified)
- FileTarget - Calculate correct archive date, when using Monthly archive (@snakefoot)

## Enhancements

- TargetWithContext - Easier to use without needing to override ContextProperties (@snakefoot)
- DatabaseTarget - Skip static assembly lookup for .Net Standard (@snakefoot)
- LogEventInfo - Structured logging parameters are not always immutable (@snakefoot)
- Target.WriteAsyncThreadSafe should always have exception handler (@snakefoot)
- Target.MergeEventProperties is now obsolete (@snakefoot)
- Sonar warning fixes (@snakefoot, @304NotModified)


Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md

Supported for each platform: https://github.com/NLog/NLog/wiki/platform-support

Version History

Version Downloads Last updated
4.5.10 117,896 9/17/2018
4.5.9 136,514 8/24/2018
4.5.8 235,137 8/5/2018
4.5.7 164,683 7/19/2018
4.5.6 474,582 5/29/2018
4.5.5 79,195 5/25/2018
4.5.4 386,078 5/5/2018
4.5.3 239,321 4/16/2018
4.5.2 240,540 4/6/2018
4.5.1 52,803 4/3/2018
4.5.0 288,870 3/25/2018
4.4.13 195,035 2/27/2018
4.4.12 1,631,617 8/8/2017
4.4.11 532,507 6/17/2017
4.4.10 170,699 5/31/2017
4.4.9 342,841 5/5/2017
4.4.8 61,836 4/28/2017
4.4.7 45,525 4/25/2017
4.4.6 113,153 4/15/2017
4.4.5 189,315 3/28/2017
4.4.4 178,790 3/10/2017
4.4.3 282,273 2/17/2017
4.4.2 161,679 2/6/2017
4.4.1 402,764 12/24/2016
4.4.0 135,945 12/14/2016
4.3.11 426,291 11/7/2016
4.3.10 285,854 10/11/2016
4.3.9 232,868 9/18/2016
4.3.8 272,309 9/5/2016
4.3.7 289,338 8/6/2016
4.3.6 146,547 7/23/2016
4.3.5 412,337 6/12/2016
4.3.4 325,811 5/16/2016
4.3.3 138,931 4/28/2016
4.3.2 44,193 4/26/2016
4.3.1 61,194 4/20/2016
4.3.0 38,412 4/16/2016
4.2.3 692,642 12/20/2015
4.2.2 127,906 12/2/2015
4.2.1 85,490 11/21/2015
4.2.0 189,182 10/24/2015
4.1.2 341,386 9/20/2015
4.1.1 55,849 9/12/2015
4.1.0 97,056 8/31/2015
4.0.1 372,858 6/18/2015
4.0.0 224,637 6/9/2015
3.2.1 303,398 4/24/2015
3.2.0 672,876 1/2/2015
3.1.0 713,390 6/24/2014
3.0.0 112,631 6/2/2014
2.1.0 599,566 10/10/2013
2.0.1.2 393,241 4/8/2013
2.0.0.2000 601,762 7/18/2011
1.0.0.505 92,274 1/7/2011
Show less