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
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.0-rc1 1,331 2/8/2019
4.5.11 626,729 11/6/2018
4.5.10 849,534 9/17/2018
4.5.9 312,916 8/24/2018
4.5.8 489,752 8/5/2018
4.5.7 255,141 7/19/2018
4.5.6 741,205 5/29/2018
4.5.5 153,841 5/25/2018
4.5.4 586,159 5/5/2018
4.5.3 338,924 4/16/2018
4.5.2 319,988 4/6/2018
4.5.1 73,971 4/3/2018
4.5.0 505,626 3/25/2018
4.4.13 257,172 2/27/2018
4.4.12 2,073,995 8/8/2017
4.4.11 632,741 6/17/2017
4.4.10 191,493 5/31/2017
4.4.9 418,838 5/5/2017
4.4.8 68,859 4/28/2017
4.4.7 50,946 4/25/2017
4.4.6 134,033 4/15/2017
4.4.5 213,184 3/28/2017
4.4.4 214,931 3/10/2017
4.4.3 322,568 2/17/2017
4.4.2 177,077 2/6/2017
4.4.1 483,040 12/24/2016
4.4.0 151,651 12/14/2016
4.3.11 485,856 11/7/2016
4.3.10 320,881 10/11/2016
4.3.9 264,460 9/18/2016
4.3.8 314,078 9/5/2016
4.3.7 315,325 8/6/2016
4.3.6 155,314 7/23/2016
4.3.5 461,817 6/12/2016
4.3.4 360,510 5/16/2016
4.3.3 155,067 4/28/2016
4.3.2 47,094 4/26/2016
4.3.1 63,869 4/20/2016
4.3.0 44,589 4/16/2016
4.2.3 760,067 12/20/2015
4.2.2 136,225 12/2/2015
4.2.1 91,546 11/21/2015
4.2.0 201,931 10/24/2015
4.1.2 373,125 9/20/2015
4.1.1 59,878 9/12/2015
4.1.0 103,549 8/31/2015
4.0.1 407,744 6/18/2015
4.0.0 269,887 6/9/2015
3.2.1 344,103 4/24/2015
3.2.0 723,554 1/2/2015
3.1.0 752,738 6/24/2014
3.0.0 118,431 6/2/2014
2.1.0 652,784 10/10/2013
2.0.1.2 409,021 4/8/2013
2.0.0.2000 632,114 7/18/2011
1.0.0.505 103,292 1/7/2011
Show less