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
<PackageReference Include="NLog" Version="4.5.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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.6.3 90,421 4/30/2019
4.6.2 168,360 4/2/2019
4.6.1 26,869 3/29/2019
4.6.0 81,865 3/21/2019
4.5.11 1,634,893 11/6/2018
4.5.10 1,284,539 9/17/2018
4.5.9 416,913 8/24/2018
4.5.8 633,112 8/5/2018
4.5.7 313,246 7/19/2018
4.5.6 919,694 5/29/2018
4.5.5 222,335 5/25/2018
4.5.4 724,255 5/5/2018
4.5.3 411,071 4/16/2018
4.5.2 380,839 4/6/2018
4.5.1 89,512 4/3/2018
4.5.0 730,108 3/25/2018
4.4.13 302,726 2/27/2018
4.4.12 2,413,722 8/8/2017
4.4.11 702,624 6/17/2017
4.4.10 204,664 5/31/2017
4.4.9 466,168 5/5/2017
4.4.8 74,756 4/28/2017
4.4.7 55,318 4/25/2017
4.4.6 149,126 4/15/2017
4.4.5 231,550 3/28/2017
4.4.4 238,189 3/10/2017
4.4.3 358,208 2/17/2017
4.4.2 191,263 2/6/2017
4.4.1 544,417 12/24/2016
4.4.0 162,694 12/14/2016
4.3.11 532,233 11/7/2016
4.3.10 348,381 10/11/2016
4.3.9 284,425 9/18/2016
4.3.8 342,135 9/5/2016
4.3.7 333,891 8/6/2016
4.3.6 162,379 7/23/2016
4.3.5 502,227 6/12/2016
4.3.4 399,508 5/16/2016
4.3.3 166,290 4/28/2016
4.3.2 48,852 4/26/2016
4.3.1 65,844 4/20/2016
4.3.0 49,438 4/16/2016
4.2.3 810,903 12/20/2015
4.2.2 145,262 12/2/2015
4.2.1 95,658 11/21/2015
4.2.0 218,925 10/24/2015
4.1.2 398,979 9/20/2015
4.1.1 63,322 9/12/2015
4.1.0 109,706 8/31/2015
4.0.1 431,792 6/18/2015
4.0.0 311,725 6/9/2015
3.2.1 388,070 4/24/2015
3.2.0 779,290 1/2/2015
3.1.0 810,279 6/24/2014
3.0.0 123,524 6/2/2014
2.1.0 693,717 10/10/2013
2.0.1.2 421,534 4/8/2013
2.0.0.2000 657,886 7/18/2011
1.0.0.505 113,425 1/7/2011
Show less