NLog 4.5.7

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

Showing the top 10 GitHub repositories that depend on NLog:

Repository Stars
Wox-launcher/Wox
Launcher for Windows, an alternative to Alfred and Launchy.
aspnet/AspNetCore.Docs
Documentation for ASP.NET Core
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
JustArchiNET/ArchiSteamFarm
C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Jackett/Jackett
API Support for your favorite torrent trackers.
Radarr/Radarr
A fork of Sonarr to work with movies à la Couchpotato.
EventStore/EventStore
The stream database optimised for event sourcing
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (C#, Python, F#)
Topshelf/Topshelf
An easy service hosting framework for building Windows services using .NET

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
4.6.8 564,567 11/4/2019
4.6.7 1,389,579 8/25/2019
4.6.6 742,723 7/14/2019
4.6.5 936,491 6/14/2019
4.6.4 873,132 5/28/2019
4.6.3 785,963 4/30/2019
4.6.2 629,570 4/2/2019
4.6.1 86,845 3/29/2019
4.6.0 273,163 3/21/2019
4.5.11 3,861,125 11/6/2018
4.5.10 2,273,615 9/17/2018
4.5.9 678,857 8/24/2018
4.5.8 955,089 8/5/2018
4.5.7 474,648 7/19/2018
4.5.6 1,379,318 5/29/2018
4.5.5 347,814 5/25/2018
4.5.4 1,115,392 5/5/2018
4.5.3 614,664 4/16/2018
4.5.2 532,954 4/6/2018
4.5.1 152,440 4/3/2018
4.5.0 1,534,677 3/25/2018
4.4.13 413,598 2/27/2018
4.4.12 3,244,991 8/8/2017
4.4.11 877,968 6/17/2017
4.4.10 244,336 5/31/2017
4.4.9 606,899 5/5/2017
4.4.8 96,870 4/28/2017
4.4.7 73,436 4/25/2017
4.4.6 191,485 4/15/2017
4.4.5 285,433 3/28/2017
4.4.4 320,451 3/10/2017
4.4.3 453,366 2/17/2017
4.4.2 235,801 2/6/2017
4.4.1 670,305 12/24/2016
4.4.0 198,040 12/14/2016
4.3.11 655,174 11/7/2016
4.3.10 410,122 10/11/2016
4.3.9 334,752 9/18/2016
4.3.8 419,878 9/5/2016
4.3.7 396,881 8/6/2016
4.3.6 190,448 7/23/2016
4.3.5 599,288 6/12/2016
4.3.4 493,057 5/16/2016
4.3.3 221,361 4/28/2016
4.3.2 64,046 4/26/2016
4.3.1 78,746 4/20/2016
4.3.0 72,927 4/16/2016
4.2.3 964,540 12/20/2015
4.2.2 177,673 12/2/2015
4.2.1 114,567 11/21/2015
4.2.0 274,723 10/24/2015
4.1.2 473,942 9/20/2015
4.1.1 85,299 9/12/2015
4.1.0 133,575 8/31/2015
4.0.1 504,847 6/18/2015
4.0.0 433,300 6/9/2015
3.2.1 514,228 4/24/2015
3.2.0 930,363 1/2/2015
3.1.0 952,981 6/24/2014
3.0.0 149,171 6/2/2014
2.1.0 800,543 10/10/2013
2.0.1.2 462,179 4/8/2013
2.0.0.2000 732,119 7/18/2011
1.0.0.505 147,403 1/7/2011
Show less