NLog
4.5.11
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
See the version list below for details.
Getting started with NLog
- Getting started for .NET
- Getting started for ASP.NET Core 2
- Getting started for .NET Core 2 Console application
- Getting started for ASP.NET Core 1 (csproj - vs2017)
- How to use structured logging
Config
- All config options: nlog-project.org/config
Troubleshooting
Getting started with NLog
- Getting started for .NET
- Getting started for ASP.NET Core 2
- Getting started for .NET Core 2 Console application
- Getting started for ASP.NET Core 1 (csproj - vs2017)
- How to use structured logging
Config
- All config options: nlog-project.org/config
Troubleshooting
Release Notes
## Enhancements
- LogBuilder - Support fluent assignment of message-template after properties (@snakefoot)
- JsonSerializer - Use ReferenceEquals instead of object.Equals when checking for cyclic object loops (#2983) (@snakefoot)
- NullAppender - Added missing SecuritySafeCritical (@snakefoot)
## Fixes
- JSON encoding should create valid JSON for non-string dictionary-keys (@snakefoot)
Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md
Supported for each platform: https://github.com/NLog/NLog/wiki/platform-support
Dependencies
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0 Client
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.3
- Microsoft.Extensions.PlatformAbstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.0)
- System.Collections.NonGeneric (>= 4.0.1)
- System.ComponentModel.Primitives (>= 4.1.0)
- System.Data.Common (>= 4.1.0)
- System.Diagnostics.StackTrace (>= 4.0.1)
- System.Net.NameResolution (>= 4.0.0)
- System.Net.Requests (>= 4.0.11)
- System.Reflection.TypeExtensions (>= 4.1.0)
- System.Xml.XmlDocument (>= 4.0.1)
-
.NETStandard 1.5
- NETStandard.Library (>= 1.6.0)
- System.ComponentModel.Primitives (>= 4.1.0)
- System.ComponentModel.TypeConverter (>= 4.1.0)
- System.Data.Common (>= 4.1.0)
- System.Diagnostics.Process (>= 4.1.0)
- System.Diagnostics.StackTrace (>= 4.0.1)
- System.Diagnostics.TraceSource (>= 4.0.0)
- System.IO.FileSystem.Watcher (>= 4.0.0)
- System.Net.NameResolution (>= 4.0.0)
- System.Net.Requests (>= 4.0.11)
- System.Reflection.TypeExtensions (>= 4.1.0)
- System.Runtime.Loader (>= 4.0.0)
- System.Threading.Thread (>= 4.0.0)
- System.Xml.XmlDocument (>= 4.0.1)
-
.NETStandard 2.0
- No dependencies.
-
MonoAndroid 4.4
- No dependencies.
-
Silverlight 4.0
- No dependencies.
-
Silverlight 5.0
- No dependencies.
-
WindowsPhone 8.0
- No dependencies.
-
Xamarin.iOS 1.0
- No dependencies.
Version History
Version | Downloads | Last updated | |
---|---|---|---|
4.6.0-rc1 | 1,893 | 2/8/2019 | |
4.5.11 | 662,678 | 11/6/2018 | |
4.5.10 | 868,998 | 9/17/2018 | |
4.5.9 | 317,375 | 8/24/2018 | |
4.5.8 | 496,585 | 8/5/2018 | |
4.5.7 | 257,444 | 7/19/2018 | |
4.5.6 | 748,262 | 5/29/2018 | |
4.5.5 | 156,831 | 5/25/2018 | |
4.5.4 | 591,555 | 5/5/2018 | |
4.5.3 | 342,398 | 4/16/2018 | |
4.5.2 | 322,111 | 4/6/2018 | |
4.5.1 | 74,562 | 4/3/2018 | |
4.5.0 | 513,041 | 3/25/2018 | |
4.4.13 | 259,156 | 2/27/2018 | |
4.4.12 | 2,087,658 | 8/8/2017 | |
4.4.11 | 635,645 | 6/17/2017 | |
4.4.10 | 192,043 | 5/31/2017 | |
4.4.9 | 420,646 | 5/5/2017 | |
4.4.8 | 69,004 | 4/28/2017 | |
4.4.7 | 51,145 | 4/25/2017 | |
4.4.6 | 134,470 | 4/15/2017 | |
4.4.5 | 213,753 | 3/28/2017 | |
4.4.4 | 215,729 | 3/10/2017 | |
4.4.3 | 323,591 | 2/17/2017 | |
4.4.2 | 177,611 | 2/6/2017 | |
4.4.1 | 485,113 | 12/24/2016 | |
4.4.0 | 152,170 | 12/14/2016 | |
4.3.11 | 487,843 | 11/7/2016 | |
4.3.10 | 322,043 | 10/11/2016 | |
4.3.9 | 265,253 | 9/18/2016 | |
4.3.8 | 315,103 | 9/5/2016 | |
4.3.7 | 315,943 | 8/6/2016 | |
4.3.6 | 155,576 | 7/23/2016 | |
4.3.5 | 463,252 | 6/12/2016 | |
4.3.4 | 362,176 | 5/16/2016 | |
4.3.3 | 155,438 | 4/28/2016 | |
4.3.2 | 47,147 | 4/26/2016 | |
4.3.1 | 63,950 | 4/20/2016 | |
4.3.0 | 44,821 | 4/16/2016 | |
4.2.3 | 762,001 | 12/20/2015 | |
4.2.2 | 136,456 | 12/2/2015 | |
4.2.1 | 91,706 | 11/21/2015 | |
4.2.0 | 202,627 | 10/24/2015 | |
4.1.2 | 374,132 | 9/20/2015 | |
4.1.1 | 59,980 | 9/12/2015 | |
4.1.0 | 103,764 | 8/31/2015 | |
4.0.1 | 408,891 | 6/18/2015 | |
4.0.0 | 271,200 | 6/9/2015 | |
3.2.1 | 345,862 | 4/24/2015 | |
3.2.0 | 725,756 | 1/2/2015 | |
3.1.0 | 754,287 | 6/24/2014 | |
3.0.0 | 118,646 | 6/2/2014 | |
2.1.0 | 654,409 | 10/10/2013 | |
2.0.1.2 | 409,506 | 4/8/2013 | |
2.0.0.2000 | 633,050 | 7/18/2011 | |
1.0.0.505 | 103,637 | 1/7/2011 |