NLog 5.3.3
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 5, 6, 7 and 8
- .NET Core 1, 2 and 3
- .NET Standard 1.3+ and 2.0+
- .NET Framework 3.5 - 4.8
- Xamarin Android + iOS (.NET Standard)
- Mono 4
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
Showing the top 20 packages that depend on NLog.
Packages | Downloads |
---|---|
Castle.Core
Core of the castle project
|
24 |
ChangeLog:
- FileTarget - Reset reusable MemoryStream when above max capacity (#5548) (@RomanSoloweow)
- ThreadIdLayoutRenderer - Added IStringValueRenderer optimization (#5568) (@snakefoot)
- PropertiesDictionary - Added PropertyDictionaryEnumerator to enumerate without allocation (#5566) (@snakefoot)
- PropertiesDictionary - Simplify PropertyDictionaryEnumerator MoveNext (#5567) (@snakefoot)
- TargetWithContext - Skip caching when render value for ContextProperties (#5562) (@snakefoot)
- SimpleLayout - Refactor to reduce code complexity (#5557) (@snakefoot)
- DatabaseTarget - CloseConnection even when ThrowExceptions = true (#5556) (@snakefoot)
- LoggerNameMatcher private classes marked as sealed (#5553) (@snakefoot)
- LoggingConfigurationParser - Refactor to reduce code complexity (#5554) (@snakefoot)
- LoggingConfigurationParser - Refactor to reduce code complexity (#5551) (@snakefoot)
- FileArchiveModeRolling - Refactor to reduce code complexity (#5550) (@snakefoot)
- LimitingTargetWrapper - Fix wiki-link in XML docs (#5542) (@snakefoot)
- FileTarget - Improve internal logging when invalid FileName (#5541) (@snakefoot)
- WhenRepeatedFilter - Added wiki-link in XML docs (#5540) (@snakefoot)
- RegEx IsMatch is faster with RegexOptions.ExplicitCapture to skip capture (#5536) (@snakefoot)
- PropertyTypeConverter - Use Type IsAssignableFrom instead of Equals (#5535) (@snakefoot)
- StackTraceUsageUtils - Refactor to reduce code complexity (#5527) (@snakefoot)
- AsyncRequestQueue - Premature optimization of Enqueue (#5526) (@snakefoot)
- JsonLayout - Refactor to reduce code complexity (#5525) (@snakefoot)
- XmlLayout - Refactor to reduce code complexity (#5524) (@snakefoot)
- AsyncTaskTarget - Added more logging to diagnose batching logic (#5523) (@snakefoot)
- Layout will always initializes nested layouts (#5522) (@snakefoot)
- NLogTraceListener - Reduce boxing of EventType + EventId properties (#5519) (@snakefoot)
NLog v5.2 changes how to load extensions: https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html
List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html
Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md
For all config options and platform support, check https://nlog-project.org/config/
.NET Framework 3.5
- No dependencies.
.NET Standard 2.0
- No dependencies.
.NET Standard 1.5
- System.Xml.XmlDocument (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Runtime.Loader (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Net.Requests (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.Http (>= 4.3.4)
- System.IO.FileSystem.Watcher (>= 4.3.0)
- System.Diagnostics.TraceSource (>= 4.3.0)
- System.Diagnostics.StackTrace (>= 4.3.0)
- System.Data.Common (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Diagnostics.Process (>= 4.3.0)
- NETStandard.Library (>= 1.6.0)
- System.ComponentModel.Primitives (>= 4.3.0)
.NET Framework 4.5
- No dependencies.
.NET Framework 4.6
- No dependencies.
.NET Standard 1.3
- NETStandard.Library (>= 1.6.0)
- System.ComponentModel.Primitives (>= 4.3.0)
- System.Data.Common (>= 4.3.0)
- System.Diagnostics.StackTrace (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.Requests (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Xml.XmlDocument (>= 4.3.0)
- System.Net.Http (>= 4.3.4)
Version | Downloads | Last updated |
---|---|---|
6.0.0-preview1 | 2 | 5/2/2025 |
5.4.0 | 9 | 2/18/2025 |
5.3.4 | 11 | 9/17/2024 |
5.3.3 | 14 | 8/14/2024 |
5.3.2 | 17 | 5/5/2024 |
5.3.1 | 20 | 5/5/2024 |
5.2.8 | 22 | 3/4/2024 |
5.2.7 | 18 | 3/9/2024 |
5.2.6 | 22 | 3/9/2024 |
5.2.5 | 20 | 3/9/2024 |
5.2.4 | 20 | 3/9/2024 |
5.2.3 | 20 | 3/9/2024 |
5.2.2 | 19 | 3/9/2024 |
5.2.1 | 20 | 7/2/2023 |
5.2.0 | 20 | 3/9/2024 |
5.1.5 | 14 | 3/9/2024 |
5.1.4 | 19 | 3/9/2024 |
5.1.3 | 20 | 3/9/2024 |
5.1.2 | 19 | 3/9/2024 |
5.1.1 | 21 | 3/9/2024 |
5.1.0 | 18 | 3/9/2024 |
5.0.5 | 16 | 3/9/2024 |
5.0.4 | 17 | 3/9/2024 |
5.0.3 | 19 | 3/9/2024 |
5.0.2 | 20 | 3/9/2024 |
5.0.1 | 14 | 3/9/2024 |
5.0.0 | 18 | 2/28/2024 |
4.7.15 | 16 | 3/4/2024 |
4.7.14 | 12 | 3/4/2024 |
4.7.13 | 16 | 3/4/2024 |
4.7.12 | 18 | 3/4/2024 |
4.7.11 | 17 | 3/4/2024 |
4.7.10 | 20 | 3/4/2024 |
4.7.9 | 16 | 3/9/2024 |
4.7.8 | 21 | 3/9/2024 |
4.7.7 | 22 | 3/9/2024 |
4.7.6 | 15 | 3/9/2024 |
4.7.5 | 15 | 3/9/2024 |
4.7.4 | 17 | 3/9/2024 |
4.7.3 | 15 | 3/9/2024 |
4.7.2 | 16 | 3/9/2024 |
4.7.1 | 18 | 3/9/2024 |
4.7.0 | 15 | 3/9/2024 |
4.6.8 | 16 | 3/9/2024 |
4.6.7 | 17 | 3/9/2024 |
4.6.6 | 19 | 3/9/2024 |
4.6.5 | 17 | 3/9/2024 |
4.6.4 | 16 | 3/9/2024 |
4.6.3 | 19 | 3/9/2024 |
4.6.2 | 18 | 3/9/2024 |
4.6.1 | 17 | 3/9/2024 |
4.6.0 | 19 | 3/9/2024 |
4.5.11 | 19 | 3/4/2024 |
4.5.10 | 17 | 3/4/2024 |
4.5.9 | 19 | 3/9/2024 |
4.5.8 | 17 | 3/9/2024 |
4.5.7 | 19 | 3/9/2024 |
4.5.6 | 22 | 3/9/2024 |
4.5.5 | 20 | 3/9/2024 |
4.5.4 | 23 | 3/9/2024 |
4.5.3 | 19 | 3/9/2024 |
4.5.2 | 21 | 3/9/2024 |
4.5.1 | 17 | 3/9/2024 |
4.5.0 | 15 | 3/9/2024 |
4.4.13 | 19 | 3/4/2024 |
4.4.12 | 15 | 3/4/2024 |
4.4.11 | 15 | 3/4/2024 |
4.4.10 | 19 | 3/4/2024 |
4.4.9 | 14 | 3/9/2024 |
4.4.8 | 16 | 3/9/2024 |
4.4.7 | 18 | 3/9/2024 |
4.4.6 | 21 | 3/9/2024 |
4.4.5 | 17 | 3/9/2024 |
4.4.4 | 15 | 3/9/2024 |
4.4.3 | 15 | 3/9/2024 |
4.4.2 | 20 | 3/9/2024 |
4.4.1 | 15 | 3/9/2024 |
4.4.0 | 20 | 3/9/2024 |
4.3.11 | 15 | 3/4/2024 |
4.3.10 | 18 | 3/4/2024 |
4.3.9 | 17 | 3/9/2024 |
4.3.8 | 19 | 3/9/2024 |
4.3.7 | 21 | 3/9/2024 |
4.3.6 | 19 | 3/9/2024 |
4.3.5 | 15 | 3/9/2024 |
4.3.4 | 19 | 3/9/2024 |
4.3.3 | 20 | 3/9/2024 |
4.3.2 | 15 | 3/9/2024 |
4.3.1 | 20 | 3/9/2024 |
4.3.0 | 18 | 3/9/2024 |
4.2.3 | 18 | 3/9/2024 |
4.2.2 | 18 | 3/9/2024 |
4.2.1 | 19 | 3/9/2024 |
4.2.0 | 15 | 3/9/2024 |
4.1.2 | 16 | 3/9/2024 |
4.1.1 | 18 | 3/9/2024 |
4.1.0 | 18 | 3/9/2024 |
4.0.1 | 15 | 3/9/2024 |
4.0.0 | 26 | 3/9/2024 |
3.2.1 | 17 | 3/9/2024 |
3.2.0 | 18 | 3/9/2024 |
3.1.0 | 18 | 3/9/2024 |
3.0.0 | 17 | 3/9/2024 |
2.1.0 | 15 | 3/9/2024 |
2.0.1.2 | 18 | 3/4/2024 |
2.0.0.2000 | 15 | 3/4/2024 |
1.0.0.505 | 17 | 3/4/2024 |