NLog 6.2.1
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 6, 7, 8, 9 and 10
- .NET Standard 2.0 and 2.1
- .NET Framework 3.5 - 4.8
- Xamarin Android + iOS (.NET Standard)
- Mono 4
For integrating NLog with Microsoft.Extensions.Logging, check: https://www.nuget.org/packages/NLog.Extensions.Logging
For using NLog with 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
|
143 |
Changelog:
- [#6254] Replace System.Random usage with custom ScatterGenerator. (@jobvk)
- [#6267] JsonLayout - Escape lone surrogates so output stays valid UTF8. (@dylanpulver)
- [#6275] XML docs with Default value for class properties in Filters namespace. (@dualfroz)
- [#6276] XML docs with Default value for class properties with unit test. (@snakefoot)
- [#6265] AtomicFileTarget - Improve recovery when file suddenly disappears. (@snakefoot)
- [#6266] JsonLayout - Explicit assigned SuppressSpaces should win. (@snakefoot)
- [#6271] DefaultJsonSerializer - Refactor AppendStringEscape to make method simpler. (@snakefoot)
- [#6268] XmlHelper - Replace with char.IsHighSurrogate + char.IsLowSurrogate. (@snakefoot)
- [#6269] XmlHelper - Improve CDATA encoding when first char is invalid. (@snakefoot)
- [#6273] XmlHelper - Check char.IsHighSurrogate before checking length. (@snakefoot)
- [#6251] LogManager - Remove CLSCompliant(false) attribute from GetCurrentClassLogger. (@snakefoot)
- [#6255] NLog.Schema - NLog.Targets.HttpClient + NLog.Targets.OpenTelemetryHttp. (@snakefoot)
- [#6261] XmlParser - Moved primitive parsing logic into InputCursor. (@snakefoot)
- [#6264] XmlParser - Optimize parsing of Attributes and InnerText and CDATA. (@snakefoot)
- [#6280] Layout - FromLiteral is IsInitialized from the start and ThreadAgnostic. (@snakefoot)
NLog v6.2 release notes: https://nlog-project.org/2026/08/16/nlog-6-2-aot-build-size.html
Full changelog: https://github.com/NLog/NLog/releases
For all config options and platform support, check https://nlog-project.org/config/
.NET Framework 3.5
- No dependencies.
.NET Framework 4.5
- No dependencies.
.NET Framework 4.6
- No dependencies.
.NET Standard 2.0
- No dependencies.
.NET Standard 2.1
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 6.2.1 | 1 | 09/16/2026 |
| 6.2.0 | 19 | 08/17/2026 |
| 6.1.4 | 26 | 07/09/2026 |
| 6.1.3 | 34 | 05/05/2026 |
| 6.1.2 | 41 | 04/01/2026 |
| 6.1.1 | 52 | 03/02/2026 |
| 6.1.0 | 56 | 02/04/2026 |
| 6.0.7 | 86 | 12/09/2025 |
| 6.0.6 | 85 | 11/11/2025 |
| 6.0.5 | 93 | 10/10/2025 |
| 6.0.4 | 113 | 09/11/2025 |
| 6.0.3 | 105 | 08/13/2025 |
| 6.0.2 | 106 | 07/21/2025 |
| 6.0.1 | 110 | 06/30/2025 |
| 6.0.0 | 104 | 06/23/2025 |
| 6.0.0-rc4 | 110 | 06/19/2025 |
| 6.0.0-rc3 | 119 | 06/09/2025 |
| 6.0.0-rc2 | 120 | 06/03/2025 |
| 6.0.0-rc1 | 144 | 05/27/2025 |
| 6.0.0-preview1 | 124 | 05/01/2025 |
| 5.5.1 | 111 | 07/18/2025 |
| 5.5.0 | 115 | 05/31/2025 |
| 5.4.0 | 129 | 03/31/2025 |
| 5.3.4 | 125 | 09/20/2024 |
| 5.3.3 | 138 | 09/03/2024 |
| 5.3.2 | 158 | 07/22/2024 |
| 5.3.1 | 128 | 07/22/2024 |
| 5.2.8 | 142 | 07/22/2024 |
| 5.2.7 | 135 | 07/22/2024 |
| 5.2.6 | 148 | 07/22/2024 |
| 5.2.5 | 129 | 07/22/2024 |
| 5.2.4 | 155 | 07/22/2024 |
| 5.2.3 | 129 | 07/22/2024 |
| 5.2.2 | 126 | 07/22/2024 |
| 5.2.1 | 125 | 07/22/2024 |
| 5.2.0 | 136 | 07/22/2024 |
| 5.1.5 | 139 | 07/22/2024 |
| 5.1.4 | 138 | 07/22/2024 |
| 5.1.3 | 155 | 07/22/2024 |
| 5.1.2 | 146 | 07/22/2024 |
| 5.1.1 | 140 | 07/22/2024 |
| 5.1.0 | 130 | 07/22/2024 |
| 5.0.5 | 141 | 07/22/2024 |
| 5.0.4 | 137 | 07/22/2024 |
| 5.0.3 | 138 | 07/22/2024 |
| 5.0.2 | 139 | 07/22/2024 |
| 5.0.1 | 127 | 07/22/2024 |
| 5.0.0 | 132 | 07/22/2024 |
| 4.7.15 | 140 | 07/22/2024 |
| 4.7.14 | 127 | 07/22/2024 |
| 4.7.13 | 141 | 07/22/2024 |
| 4.7.12 | 147 | 07/22/2024 |
| 4.7.11 | 137 | 07/22/2024 |
| 4.7.10 | 141 | 07/22/2024 |
| 4.7.9 | 124 | 07/22/2024 |
| 4.7.8 | 135 | 07/22/2024 |
| 4.7.7 | 128 | 07/22/2024 |
| 4.7.6 | 145 | 07/22/2024 |
| 4.7.5 | 138 | 07/22/2024 |
| 4.7.4 | 149 | 07/22/2024 |
| 4.7.3 | 115 | 07/22/2024 |
| 4.7.2 | 144 | 07/22/2024 |
| 4.7.1 | 134 | 07/22/2024 |
| 4.7.0 | 124 | 07/22/2024 |
| 4.6.8 | 151 | 07/22/2024 |
| 4.6.7 | 124 | 07/22/2024 |
| 4.6.6 | 135 | 07/22/2024 |
| 4.6.5 | 140 | 07/22/2024 |
| 4.6.4 | 156 | 07/22/2024 |
| 4.6.3 | 133 | 07/22/2024 |
| 4.6.2 | 153 | 07/22/2024 |
| 4.6.1 | 142 | 07/22/2024 |
| 4.6.0 | 150 | 07/22/2024 |
| 4.5.11 | 147 | 07/22/2024 |
| 4.5.10 | 155 | 07/22/2024 |
| 4.5.9 | 134 | 07/22/2024 |
| 4.5.8 | 135 | 07/22/2024 |
| 4.5.7 | 118 | 07/22/2024 |
| 4.5.6 | 142 | 07/22/2024 |
| 4.5.5 | 132 | 07/22/2024 |
| 4.5.4 | 122 | 07/22/2024 |
| 4.5.3 | 125 | 07/22/2024 |
| 4.5.2 | 132 | 07/22/2024 |
| 4.5.1 | 145 | 07/22/2024 |
| 4.5.0 | 128 | 07/22/2024 |
| 4.4.13 | 114 | 07/22/2024 |
| 4.4.12 | 145 | 07/22/2024 |
| 4.4.11 | 144 | 07/22/2024 |
| 4.4.10 | 131 | 07/22/2024 |
| 4.4.9 | 136 | 07/22/2024 |
| 4.4.8 | 136 | 07/22/2024 |
| 4.4.7 | 140 | 07/22/2024 |
| 4.4.6 | 140 | 07/22/2024 |
| 4.4.5 | 131 | 07/22/2024 |
| 4.4.4 | 125 | 07/22/2024 |
| 4.4.3 | 127 | 07/22/2024 |
| 4.4.2 | 136 | 07/22/2024 |
| 4.4.1 | 133 | 07/22/2024 |
| 4.4.0 | 141 | 07/22/2024 |
| 4.3.11 | 127 | 07/22/2024 |
| 4.3.10 | 152 | 07/22/2024 |
| 4.3.9 | 151 | 07/22/2024 |
| 4.3.8 | 135 | 07/22/2024 |
| 4.3.7 | 137 | 07/22/2024 |
| 4.3.6 | 151 | 07/22/2024 |
| 4.3.5 | 125 | 07/22/2024 |
| 4.3.4 | 136 | 07/22/2024 |
| 4.3.3 | 146 | 07/22/2024 |
| 4.3.2 | 144 | 07/22/2024 |
| 4.3.1 | 134 | 07/22/2024 |
| 4.3.0 | 159 | 07/22/2024 |
| 4.2.3 | 127 | 07/22/2024 |
| 4.2.2 | 153 | 07/22/2024 |
| 4.2.1 | 130 | 07/22/2024 |
| 4.2.0 | 139 | 07/22/2024 |
| 4.1.2 | 137 | 07/22/2024 |
| 4.1.1 | 141 | 07/22/2024 |
| 4.1.0 | 140 | 07/22/2024 |
| 4.0.1 | 140 | 07/22/2024 |
| 4.0.0 | 146 | 07/22/2024 |
| 3.2.1 | 141 | 07/22/2024 |
| 3.2.0 | 140 | 07/22/2024 |
| 3.1.0 | 143 | 07/22/2024 |
| 3.0.0 | 146 | 07/22/2024 |
| 2.1.0 | 135 | 07/22/2024 |
| 2.0.1.2 | 135 | 07/22/2024 |
| 2.0.0.2000 | 129 | 07/22/2024 |
| 1.0.0.505 | 132 | 07/22/2024 |