NLog 4.5.7

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.7
dotnet add package NLog --version 4.5.7
<PackageReference Include="NLog" Version="4.5.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NLog --version 4.5.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## Features
- OutputDebugStringTarget - Support Xamarin iOS and Android (@snakefoot)
- FileTarget - Introduced OpenFileFlushTimeout to help when AutoFlush = false (@snakefoot)

## Fixes
- ${Callsite} fix class naming when includeNamespace=false and cleanNamesOfAnonymousDelegates=true (@Azatey)
- JSON: Fixes issue where char types are not properly escaped (#2752) (@smbecker)

## Enhancements
- FileTarget - Do not trust Last File Write TimeStamp when AutoFlush=false (@snakefoot)
- Throw better error when target name is null (@masters3d)
- ${Assembly-version} make GetAssembly protected and virtual (@alexangas)
- LongDateLayoutRenderer: Improve comments (@stic)
- NLog.WindowsEventLog: Update dependency System.Diagnostics.EventLog to RTM version (@304NotModified)

## Performance
- Better performance with Activator.CreateInstance (@tangdf)


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.2 76,057 4/2/2019
4.6.1 19,696 3/29/2019
4.6.0 59,736 3/21/2019
4.5.11 1,356,676 11/6/2018
4.5.10 1,172,159 9/17/2018
4.5.9 387,956 8/24/2018
4.5.8 596,567 8/5/2018
4.5.7 298,689 7/19/2018
4.5.6 870,862 5/29/2018
4.5.5 206,357 5/25/2018
4.5.4 684,656 5/5/2018
4.5.3 391,433 4/16/2018
4.5.2 364,332 4/6/2018
4.5.1 84,251 4/3/2018
4.5.0 660,079 3/25/2018
4.4.13 290,079 2/27/2018
4.4.12 2,319,702 8/8/2017
4.4.11 685,360 6/17/2017
4.4.10 200,914 5/31/2017
4.4.9 451,942 5/5/2017
4.4.8 73,045 4/28/2017
4.4.7 54,271 4/25/2017
4.4.6 144,183 4/15/2017
4.4.5 225,326 3/28/2017
4.4.4 231,180 3/10/2017
4.4.3 345,165 2/17/2017
4.4.2 187,247 2/6/2017
4.4.1 526,715 12/24/2016
4.4.0 158,858 12/14/2016
4.3.11 520,732 11/7/2016
4.3.10 341,926 10/11/2016
4.3.9 279,107 9/18/2016
4.3.8 334,324 9/5/2016
4.3.7 328,174 8/6/2016
4.3.6 160,229 7/23/2016
4.3.5 489,599 6/12/2016
4.3.4 389,353 5/16/2016
4.3.3 163,409 4/28/2016
4.3.2 48,359 4/26/2016
4.3.1 65,245 4/20/2016
4.3.0 47,821 4/16/2016
4.2.3 794,879 12/20/2015
4.2.2 142,189 12/2/2015
4.2.1 94,588 11/21/2015
4.2.0 214,218 10/24/2015
4.1.2 391,586 9/20/2015
4.1.1 62,272 9/12/2015
4.1.0 107,802 8/31/2015
4.0.1 425,544 6/18/2015
4.0.0 298,463 6/9/2015
3.2.1 375,955 4/24/2015
3.2.0 764,649 1/2/2015
3.1.0 796,775 6/24/2014
3.0.0 122,071 6/2/2014
2.1.0 681,959 10/10/2013
2.0.1.2 417,792 4/8/2013
2.0.0.2000 650,099 7/18/2011
1.0.0.505 110,195 1/7/2011
Show less