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
21
ET.Core.WebApi
Package Description
42
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
17
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
18
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
19
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
16
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
18
NLog.Extensions.Logging
NLog provider for Microsoft.Extensions.Logging for usage in .NET Standard libraries and console applicaties. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
17
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
17
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
18

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 3 26.09.2026
6.2.0 5 22.08.2026
6.1.4 5 20.07.2026
6.1.3 11 11.05.2026
6.1.2 7 09.04.2026
6.1.1 8 01.03.2026
6.1.0 9 09.02.2026
6.0.7 10 18.12.2025
6.0.6 14 16.11.2025
6.0.5 18 25.10.2025
6.0.4 17 16.09.2025
6.0.3 17 28.08.2025
6.0.2 14 04.08.2025
6.0.1 13 04.08.2025
6.0.0 15 22.06.2025
6.0.0-rc4 20 18.06.2025
6.0.0-rc3 19 09.06.2025
6.0.0-rc2 19 06.06.2025
6.0.0-rc1 20 31.05.2025
6.0.0-preview1 20 13.05.2025
5.5.1 16 04.08.2025
5.5.0 18 02.06.2025
5.4.0 20 15.03.2025
5.3.4 21 15.03.2025
5.3.3 31 15.03.2025
5.3.2 20 15.03.2025
5.3.1 27 15.03.2025
5.2.8 21 15.03.2025
5.2.7 23 15.03.2025
5.2.6 20 15.03.2025
5.2.5 21 15.03.2025
5.2.4 19 15.03.2025
5.2.3 23 15.03.2025
5.2.2 21 15.03.2025
5.2.1 21 15.03.2025
5.2.0 20 15.03.2025
5.1.5 23 15.03.2025
5.1.4 21 15.03.2025
5.1.3 23 15.03.2025
5.1.2 20 15.03.2025
5.1.1 23 15.03.2025
5.1.0 23 15.03.2025
5.0.5 18 15.03.2025
5.0.4 27 15.03.2025
5.0.3 21 15.03.2025
5.0.2 19 15.03.2025
5.0.1 22 15.03.2025
5.0.0 22 15.03.2025
4.7.15 23 15.03.2025
4.7.14 24 15.03.2025
4.7.13 21 15.03.2025
4.7.12 23 15.03.2025
4.7.11 25 15.03.2025
4.7.10 22 15.03.2025
4.7.9 21 15.03.2025
4.7.8 21 15.03.2025
4.7.7 22 15.03.2025
4.7.6 20 15.03.2025
4.7.5 22 15.03.2025
4.7.4 26 15.03.2025
4.7.3 24 15.03.2025
4.7.2 22 15.03.2025
4.7.1 22 15.03.2025
4.7.0 21 15.03.2025
4.6.8 26 15.03.2025
4.6.7 24 15.03.2025
4.6.6 23 15.03.2025
4.6.5 25 15.03.2025
4.6.4 20 15.03.2025
4.6.3 27 15.03.2025
4.6.2 25 15.03.2025
4.6.1 23 15.03.2025
4.6.0 26 15.03.2025
4.5.11 21 15.03.2025
4.5.10 21 15.03.2025
4.5.9 21 15.03.2025
4.5.8 23 15.03.2025
4.5.7 20 15.03.2025
4.5.6 23 15.03.2025
4.5.5 21 15.03.2025
4.5.4 23 15.03.2025
4.5.3 17 15.03.2025
4.5.2 20 15.03.2025
4.5.1 22 15.03.2025
4.5.0 25 15.03.2025
4.4.13 20 15.03.2025
4.4.12 21 15.03.2025
4.4.11 24 15.03.2025
4.4.10 24 15.03.2025
4.4.9 25 15.03.2025
4.4.8 19 15.03.2025
4.4.7 22 15.03.2025
4.4.6 24 15.03.2025
4.4.5 22 15.03.2025
4.4.4 24 15.03.2025
4.4.3 21 15.03.2025
4.4.2 25 15.03.2025
4.4.1 22 15.03.2025
4.4.0 26 15.03.2025
4.3.11 21 15.03.2025
4.3.10 22 15.03.2025
4.3.9 21 15.03.2025
4.3.8 21 15.03.2025
4.3.7 23 15.03.2025
4.3.6 20 15.03.2025
4.3.5 26 15.03.2025
4.3.4 23 15.03.2025
4.3.3 21 15.03.2025
4.3.2 23 15.03.2025
4.3.1 21 15.03.2025
4.3.0 25 15.03.2025
4.2.3 25 15.03.2025
4.2.2 26 15.03.2025
4.2.1 19 15.03.2025
4.2.0 21 15.03.2025
4.1.2 21 15.03.2025
4.1.1 19 15.03.2025
4.1.0 21 15.03.2025
4.0.1 25 15.03.2025
4.0.0 23 15.03.2025
3.2.1 22 15.03.2025
3.2.0 21 15.03.2025
3.1.0 23 15.03.2025
3.0.0 24 15.03.2025
2.1.0 25 15.03.2025
2.0.1.2 25 15.03.2025
2.0.0.2000 21 15.03.2025
1.0.0.505 24 15.03.2025