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
|
65 |
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.5 | 10 | 10/10/2025 |
| 6.0.4 | 18 | 09/11/2025 |
| 6.0.3 | 20 | 08/13/2025 |
| 6.0.2 | 22 | 07/21/2025 |
| 6.0.1 | 30 | 06/30/2025 |
| 6.0.0 | 30 | 06/23/2025 |
| 6.0.0-rc4 | 27 | 06/19/2025 |
| 6.0.0-rc3 | 33 | 06/09/2025 |
| 6.0.0-rc2 | 34 | 06/03/2025 |
| 6.0.0-rc1 | 60 | 05/27/2025 |
| 6.0.0-preview1 | 33 | 05/01/2025 |
| 5.5.1 | 25 | 07/18/2025 |
| 5.5.0 | 34 | 05/31/2025 |
| 5.4.0 | 41 | 03/31/2025 |
| 5.3.4 | 41 | 09/20/2024 |
| 5.3.3 | 45 | 09/03/2024 |
| 5.3.2 | 71 | 07/22/2024 |
| 5.3.1 | 56 | 07/22/2024 |
| 5.2.8 | 57 | 07/22/2024 |
| 5.2.7 | 59 | 07/22/2024 |
| 5.2.6 | 70 | 07/22/2024 |
| 5.2.5 | 54 | 07/22/2024 |
| 5.2.4 | 58 | 07/22/2024 |
| 5.2.3 | 46 | 07/22/2024 |
| 5.2.2 | 50 | 07/22/2024 |
| 5.2.1 | 50 | 07/22/2024 |
| 5.2.0 | 61 | 07/22/2024 |
| 5.1.5 | 56 | 07/22/2024 |
| 5.1.4 | 59 | 07/22/2024 |
| 5.1.3 | 65 | 07/22/2024 |
| 5.1.2 | 60 | 07/22/2024 |
| 5.1.1 | 52 | 07/22/2024 |
| 5.1.0 | 48 | 07/22/2024 |
| 5.0.5 | 54 | 07/22/2024 |
| 5.0.4 | 52 | 07/22/2024 |
| 5.0.3 | 58 | 07/22/2024 |
| 5.0.2 | 51 | 07/22/2024 |
| 5.0.1 | 51 | 07/22/2024 |
| 5.0.0 | 58 | 07/22/2024 |
| 4.7.15 | 58 | 07/22/2024 |
| 4.7.14 | 50 | 07/22/2024 |
| 4.7.13 | 54 | 07/22/2024 |
| 4.7.12 | 57 | 07/22/2024 |
| 4.7.11 | 58 | 07/22/2024 |
| 4.7.10 | 52 | 07/22/2024 |
| 4.7.9 | 54 | 07/22/2024 |
| 4.7.8 | 58 | 07/22/2024 |
| 4.7.7 | 53 | 07/22/2024 |
| 4.7.6 | 57 | 07/22/2024 |
| 4.7.5 | 59 | 07/22/2024 |
| 4.7.4 | 62 | 07/22/2024 |
| 4.7.3 | 49 | 07/22/2024 |
| 4.7.2 | 57 | 07/22/2024 |
| 4.7.1 | 59 | 07/22/2024 |
| 4.7.0 | 52 | 07/22/2024 |
| 4.6.8 | 49 | 07/22/2024 |
| 4.6.7 | 44 | 07/22/2024 |
| 4.6.6 | 49 | 07/22/2024 |
| 4.6.5 | 61 | 07/22/2024 |
| 4.6.4 | 62 | 07/22/2024 |
| 4.6.3 | 50 | 07/22/2024 |
| 4.6.2 | 61 | 07/22/2024 |
| 4.6.1 | 48 | 07/22/2024 |
| 4.6.0 | 58 | 07/22/2024 |
| 4.5.11 | 56 | 07/22/2024 |
| 4.5.10 | 57 | 07/22/2024 |
| 4.5.9 | 49 | 07/22/2024 |
| 4.5.8 | 67 | 07/22/2024 |
| 4.5.7 | 43 | 07/22/2024 |
| 4.5.6 | 59 | 07/22/2024 |
| 4.5.5 | 54 | 07/22/2024 |
| 4.5.4 | 49 | 07/22/2024 |
| 4.5.3 | 61 | 07/22/2024 |
| 4.5.2 | 55 | 07/22/2024 |
| 4.5.1 | 57 | 07/22/2024 |
| 4.5.0 | 47 | 07/22/2024 |
| 4.4.13 | 46 | 07/22/2024 |
| 4.4.12 | 54 | 07/22/2024 |
| 4.4.11 | 59 | 07/22/2024 |
| 4.4.10 | 49 | 07/22/2024 |
| 4.4.9 | 52 | 07/22/2024 |
| 4.4.8 | 54 | 07/22/2024 |
| 4.4.7 | 50 | 07/22/2024 |
| 4.4.6 | 55 | 07/22/2024 |
| 4.4.5 | 60 | 07/22/2024 |
| 4.4.4 | 44 | 07/22/2024 |
| 4.4.3 | 57 | 07/22/2024 |
| 4.4.2 | 52 | 07/22/2024 |
| 4.4.1 | 57 | 07/22/2024 |
| 4.4.0 | 61 | 07/22/2024 |
| 4.3.11 | 49 | 07/22/2024 |
| 4.3.10 | 53 | 07/22/2024 |
| 4.3.9 | 59 | 07/22/2024 |
| 4.3.8 | 54 | 07/22/2024 |
| 4.3.7 | 51 | 07/22/2024 |
| 4.3.6 | 58 | 07/22/2024 |
| 4.3.5 | 52 | 07/22/2024 |
| 4.3.4 | 46 | 07/22/2024 |
| 4.3.3 | 65 | 07/22/2024 |
| 4.3.2 | 55 | 07/22/2024 |
| 4.3.1 | 53 | 07/22/2024 |
| 4.3.0 | 60 | 07/22/2024 |
| 4.2.3 | 47 | 07/22/2024 |
| 4.2.2 | 59 | 07/22/2024 |
| 4.2.1 | 50 | 07/22/2024 |
| 4.2.0 | 62 | 07/22/2024 |
| 4.1.2 | 53 | 07/22/2024 |
| 4.1.1 | 63 | 07/22/2024 |
| 4.1.0 | 46 | 07/22/2024 |
| 4.0.1 | 52 | 07/22/2024 |
| 4.0.0 | 57 | 07/22/2024 |
| 3.2.1 | 62 | 07/22/2024 |
| 3.2.0 | 64 | 07/22/2024 |
| 3.1.0 | 59 | 07/22/2024 |
| 3.0.0 | 43 | 07/22/2024 |
| 2.1.0 | 58 | 07/22/2024 |
| 2.0.1.2 | 52 | 07/22/2024 |
| 2.0.0.2000 | 58 | 07/22/2024 |
| 1.0.0.505 | 55 | 07/22/2024 |