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.11 154,345 11/6/2018
4.5.10 495,329 9/17/2018
4.5.9 230,258 8/24/2018
4.5.8 374,252 8/5/2018
4.5.7 214,893 7/19/2018
4.5.6 623,548 5/29/2018
4.5.5 107,198 5/25/2018
4.5.4 495,213 5/5/2018
4.5.3 289,793 4/16/2018
4.5.2 280,630 4/6/2018
4.5.1 63,302 4/3/2018
4.5.0 390,910 3/25/2018
4.4.13 228,372 2/27/2018
4.4.12 1,849,036 8/8/2017
4.4.11 580,583 6/17/2017
4.4.10 181,627 5/31/2017
4.4.9 381,283 5/5/2017
4.4.8 65,158 4/28/2017
4.4.7 47,918 4/25/2017
4.4.6 123,008 4/15/2017
4.4.5 201,840 3/28/2017
4.4.4 196,766 3/10/2017
4.4.3 303,637 2/17/2017
4.4.2 169,661 2/6/2017
4.4.1 444,752 12/24/2016
4.4.0 144,432 12/14/2016
4.3.11 453,877 11/7/2016
4.3.10 302,365 10/11/2016
4.3.9 248,440 9/18/2016
4.3.8 294,280 9/5/2016
4.3.7 303,662 8/6/2016
4.3.6 150,816 7/23/2016
4.3.5 437,061 6/12/2016
4.3.4 340,936 5/16/2016
4.3.3 146,934 4/28/2016
4.3.2 46,003 4/26/2016
4.3.1 62,619 4/20/2016
4.3.0 41,636 4/16/2016
4.2.3 724,925 12/20/2015
4.2.2 131,531 12/2/2015
4.2.1 88,369 11/21/2015
4.2.0 194,529 10/24/2015
4.1.2 357,010 9/20/2015
4.1.1 57,802 9/12/2015
4.1.0 99,930 8/31/2015
4.0.1 388,244 6/18/2015
4.0.0 248,673 6/9/2015
3.2.1 322,154 4/24/2015
3.2.0 694,367 1/2/2015
3.1.0 731,247 6/24/2014
3.0.0 115,054 6/2/2014
2.1.0 625,949 10/10/2013
2.0.1.2 400,798 4/8/2013
2.0.0.2000 617,595 7/18/2011
1.0.0.505 97,767 1/7/2011
Show less