NLog 6.1.4
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
|
6 |
Changelog:
- [#6225] AsyncTaskTarget - Fixed bug when using BatchSize=1 and doing explicit flush and next LogEvent fails. (@snakefoot)
- [#6206] MruCache - Changed to ConcurrentDictionary but still single writer. (@snakefoot)
- [#6205] TargetWithFilterChain - Increase CallSite MaxCapacity from 1000 to 2000. (@snakefoot)
- [#6197] JsonAttribute - New constructor with JsonLayout and Encode = false. (@snakefoot)
- [#6174] Reduce AOT file-size by changing PropertyTypeConverter to avoid Dictionary for conversion mapping. (@snakefoot)
- [#6177] Reduce AOT file-size by changing LogFactory PurgeObsoleteLoggers to clone Dictionary instead of ToList. (@snakefoot)
- [#6185] Reduce AOT file-size by changing to use yield instead of Linq. (@snakefoot)
- [#6188] Reduce AOT file-size by changing ConfigurationItemFactory from Dictionary to Array of PropertyInfo. (@snakefoot)
- [#6192] Reduce AOT file-size by changing Target FindAllLayouts to use HashSet instead of Linq Distinct. (@snakefoot)
- [#6193] Reduce AOT file-size by changing XmlLoggingConfiguration AutoReloadFileNames to use yield instead of Linq. (@snakefoot)
- [#6195] Reduce AOT file-size by changing LoggingConfiguration CheckUnusedTargets to use HashSet instead of Linq. (@snakefoot)
- [#6204] TemplateEnumerator - Replace LiteralHole with CurrentHole and CurrentLiteral. (@snakefoot)
- [#6223] XmlParser - ReadUntilChar avoid extra string-allocation on trim InnerText. (@snakefoot)
- [#6222] XmlParser - Simplify ReadUntilChar by extracting parse of attribute-name into ReadEntityName. (@snakefoot)
- [#6209] AppVeyor - Visual Studio 2026. (@snakefoot)
- [#6199] Fixed nullable warnings from Activator.CreateInstance. (@snakefoot)
- [#6190] SetupConfigurationTargetBuilder - Fix Sonar Code Smell. (@snakefoot)
- [#6176] TryNLogSpecificConversion - Refactor parsing Layout from string. (@snakefoot)
- [#6210] ScopeContext - Fix List capacity for GetAllNestedStates. (@jnyrup)
- [#6211] ScopeContext - Renamed PushNestedState to CollectNestedState. (@snakefoot)
- [#6214] ScopeContext - Rename CaptureNestedContext to CloneNestedContext. (@snakefoot)
- [#6216] ScopeContext - Simplify CaptureContextProperties when only nested state. (@snakefoot)
- [#6217] ScopeContext - Unify CollectNestedState implementation. (@snakefoot)
NLog v6.0 release notes: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.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.1.4 | 1 | 07/25/2026 |
| 6.1.3 | 4 | 05/30/2026 |
| 6.1.2 | 4 | 04/09/2026 |
| 6.1.1 | 5 | 03/05/2026 |
| 6.1.0 | 4 | 03/10/2026 |
| 6.0.7 | 7 | 12/11/2025 |
| 6.0.6 | 7 | 12/09/2025 |
| 6.0.5 | 6 | 12/09/2025 |
| 6.0.4 | 5 | 12/09/2025 |
| 6.0.3 | 6 | 12/17/2025 |
| 6.0.2 | 8 | 12/09/2025 |
| 6.0.1 | 8 | 12/09/2025 |
| 6.0.0 | 6 | 12/17/2025 |
| 5.5.1 | 11 | 12/11/2025 |
| 5.5.0 | 8 | 12/09/2025 |
| 5.4.0 | 7 | 12/09/2025 |
| 5.3.4 | 5 | 12/17/2025 |
| 5.3.3 | 6 | 12/17/2025 |
| 5.3.2 | 7 | 12/17/2025 |
| 5.3.1 | 6 | 12/17/2025 |
| 5.2.8 | 8 | 12/17/2025 |
| 5.2.7 | 9 | 12/17/2025 |
| 5.2.6 | 8 | 12/09/2025 |
| 5.2.5 | 8 | 12/17/2025 |
| 5.2.4 | 6 | 12/17/2025 |
| 5.2.3 | 9 | 12/17/2025 |
| 5.2.2 | 7 | 12/17/2025 |
| 5.2.1 | 7 | 12/10/2025 |
| 5.2.0 | 7 | 12/09/2025 |
| 5.1.5 | 6 | 12/17/2025 |
| 5.1.4 | 6 | 12/10/2025 |
| 5.1.3 | 5 | 12/17/2025 |
| 5.1.2 | 7 | 12/09/2025 |
| 5.1.1 | 7 | 12/17/2025 |
| 5.1.0 | 7 | 12/09/2025 |
| 5.0.5 | 8 | 12/09/2025 |
| 5.0.4 | 8 | 12/17/2025 |
| 5.0.3 | 6 | 12/17/2025 |
| 5.0.2 | 8 | 12/09/2025 |
| 5.0.1 | 7 | 12/09/2025 |
| 5.0.0 | 8 | 12/09/2025 |
| 4.7.15 | 7 | 12/17/2025 |
| 4.7.14 | 6 | 12/17/2025 |
| 4.7.13 | 7 | 12/17/2025 |
| 4.7.12 | 9 | 12/17/2025 |
| 4.7.11 | 7 | 12/11/2025 |
| 4.7.10 | 6 | 12/17/2025 |
| 4.7.9 | 8 | 12/17/2025 |
| 4.7.8 | 8 | 12/17/2025 |
| 4.7.7 | 5 | 12/17/2025 |
| 4.7.6 | 7 | 12/17/2025 |
| 4.7.5 | 6 | 12/17/2025 |
| 4.7.4 | 8 | 12/12/2025 |
| 4.7.3 | 7 | 12/17/2025 |
| 4.7.2 | 11 | 12/10/2025 |
| 4.7.1 | 8 | 12/17/2025 |
| 4.7.0 | 9 | 12/09/2025 |
| 4.6.8 | 7 | 12/17/2025 |
| 4.6.7 | 7 | 12/17/2025 |
| 4.6.6 | 6 | 12/17/2025 |
| 4.6.5 | 8 | 12/17/2025 |
| 4.6.4 | 8 | 12/17/2025 |
| 4.6.3 | 6 | 12/17/2025 |
| 4.6.2 | 5 | 12/17/2025 |
| 4.6.1 | 6 | 12/17/2025 |
| 4.6.0 | 8 | 12/09/2025 |
| 4.5.11 | 8 | 12/09/2025 |
| 4.5.10 | 10 | 12/11/2025 |
| 4.5.9 | 6 | 12/17/2025 |
| 4.5.8 | 7 | 12/10/2025 |
| 4.5.7 | 7 | 12/17/2025 |
| 4.5.6 | 6 | 12/17/2025 |
| 4.5.5 | 6 | 12/17/2025 |
| 4.5.4 | 7 | 12/09/2025 |
| 4.5.3 | 6 | 12/17/2025 |
| 4.5.2 | 7 | 12/17/2025 |
| 4.5.1 | 7 | 12/10/2025 |
| 4.5.0 | 8 | 12/09/2025 |
| 4.4.13 | 8 | 12/17/2025 |
| 4.4.12 | 7 | 12/09/2025 |
| 4.4.11 | 7 | 12/17/2025 |
| 4.4.10 | 8 | 12/10/2025 |
| 4.4.9 | 5 | 12/17/2025 |
| 4.4.8 | 8 | 12/09/2025 |
| 4.4.7 | 7 | 12/09/2025 |
| 4.4.6 | 6 | 12/17/2025 |
| 4.4.5 | 8 | 12/17/2025 |
| 4.4.4 | 4 | 01/08/2026 |
| 4.4.3 | 6 | 12/17/2025 |
| 4.4.2 | 7 | 12/17/2025 |
| 4.4.1 | 7 | 12/09/2025 |
| 4.4.0 | 5 | 12/17/2025 |
| 4.3.11 | 8 | 12/10/2025 |
| 4.3.10 | 4 | 12/17/2025 |
| 4.3.9 | 11 | 12/17/2025 |
| 4.3.8 | 7 | 12/17/2025 |
| 4.3.7 | 8 | 12/17/2025 |
| 4.3.6 | 6 | 12/17/2025 |
| 4.3.5 | 7 | 12/09/2025 |
| 4.3.4 | 6 | 12/17/2025 |
| 4.3.3 | 6 | 12/17/2025 |
| 4.3.2 | 9 | 12/17/2025 |
| 4.3.1 | 6 | 12/17/2025 |
| 4.3.0 | 11 | 12/09/2025 |
| 4.2.3 | 6 | 12/17/2025 |
| 4.2.2 | 8 | 12/17/2025 |
| 4.2.1 | 7 | 12/17/2025 |
| 4.2.0 | 8 | 12/09/2025 |
| 4.1.2 | 5 | 12/17/2025 |
| 4.1.1 | 7 | 12/10/2025 |
| 4.1.0 | 7 | 12/09/2025 |
| 4.0.1 | 8 | 12/09/2025 |
| 4.0.0 | 6 | 12/17/2025 |
| 3.2.1 | 6 | 12/17/2025 |
| 3.2.0 | 7 | 12/09/2025 |
| 3.1.0 | 8 | 12/09/2025 |
| 3.0.0 | 9 | 12/09/2025 |
| 2.1.0 | 7 | 12/09/2025 |
| 2.0.1.2 | 7 | 12/17/2025 |
| 2.0.0.2000 | 7 | 01/09/2026 |
| 1.0.0.505 | 9 | 12/09/2025 |