NLog 6.2.2

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
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
398
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
52
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
51
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
49
NLog.Config
Empty NLog.config file.
48
NLog.Config
Xml file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually and the configuration can be created programmatically.
47
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
47
NLog.Config
NLog.config file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually (read specs here: https://github.com/NLog/NLog/wiki/Configuration-file) or the configuration can be created programmatically. (read more here: https://github.com/NLog/NLog/wiki/Configuration-API) Note: Unfortunately this package won't work well when using <PackageReference> Advised to: - download manually: https://raw.githubusercontent.com/NLog/NLog/v4.4/src/NuGet/NLog.Config/content/NLog.config - set "Copy To Output Directory" to "Copy if newer"
47
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
47
NLog.Config
Xml file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually and the configuration can be created programmatically.
46
NLog.Config
Empty NLog.config file.
46
NLog.Config
Xml file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually and the configuration can be created programmatically.
45
NLog.Config
NLog.config file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually (read specs here: https://github.com/NLog/NLog/wiki/Configuration-file) or the configuration can be created programmatically. (read more here: https://github.com/NLog/NLog/wiki/Configuration-API) Note: Unfortunately this package won't work well when using <PackageReference> Advised to: - download manually: https://raw.githubusercontent.com/NLog/NLog/dev/src/NuGet/NLog.Config/content/NLog.config - set "Copy To Output Directory" to "Copy if newer"
45

Changelog:

  • [#6292] CachedLayoutRendererWrapper - Support CachedUntil=HourChange and CachedUntil=DayChange. (@dualfroz)
  • [#6298] ObjectGraphScanner - Skip scanning Layout.Empty. (@snakefoot)
  • [#6297] Remove Microsoft.SourceLink.GitHub as part of NET8 SDK. (@snakefoot)
  • [#6296] FileTarget - Refactor RollingArchiveFileHandler to reduce complexity. (@snakefoot)
  • [#6295] NullTarget - LastMessage property lock SyncRoot. (@snakefoot)
  • [#6303] XmlParser - Keep whitespace from character references in InnerText. (@APX403)
  • [#6289] MemoryTarget - Introduced DumpInitialError with focused diagnostic context. (@snakefoot)
  • [#6287] MemoryTarget - Introduced DumpOnError with full diagnostic context. (@snakefoot)
  • [#6283] MemoryTarget - RingBuffer supporting non-blocking enumeration. (@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.2 6 10/16/2026
6.2.1 399 09/17/2026
6.2.0 24 08/18/2026
6.1.4 29 07/09/2026
6.1.3 36 05/06/2026
6.1.2 55 04/02/2026
6.1.1 45 03/02/2026
6.1.0 54 02/02/2026
6.0.7 6 09/27/2026
6.0.6 57 12/12/2025
6.0.5 46 12/12/2025
6.0.4 52 12/15/2025
6.0.3 49 12/11/2025
6.0.2 53 12/30/2025
6.0.1 60 12/24/2025
6.0.0 50 12/22/2025
6.0.0-rc4 51 02/04/2026
6.0.0-rc3 50 12/19/2025
6.0.0-rc2 62 12/11/2025
6.0.0-rc1 1 10/07/2026
6.0.0-preview1 49 12/11/2025
5.5.1 51 12/24/2025
5.5.0 68 12/20/2025
5.4.0 53 12/12/2025
5.3.4 49 12/11/2025
5.3.3 45 12/21/2025
5.3.2 44 12/21/2025
5.3.1 43 12/12/2025
5.2.8 50 12/12/2025
5.2.7 43 12/21/2025
5.2.6 39 12/15/2025
5.2.5 41 12/15/2025
5.2.4 41 12/22/2025
5.2.3 41 12/15/2025
5.2.2 44 12/12/2025
5.2.1 46 12/20/2025
5.2.0 48 12/14/2025
5.1.5 2 10/01/2026
5.1.4 44 12/21/2025
5.1.3 46 12/20/2025
5.1.2 40 12/13/2025
5.1.1 43 12/20/2025
5.1.0 52 12/15/2025
5.0.5 40 12/20/2025
5.0.4 40 12/18/2025
5.0.3 32 12/21/2025
5.0.2 1 10/01/2026
5.0.1 42 12/17/2025
5.0.0 49 12/12/2025
5.0.0-rc1 49 01/04/2026
5.0.0-preview.3 43 01/19/2026
4.7.15 43 12/14/2025
4.7.14 44 12/14/2025
4.7.13 3 10/02/2026
4.7.12 51 12/20/2025
4.7.11 53 12/15/2025
4.7.10 40 12/11/2025
4.7.9 40 12/20/2025
4.7.8 44 12/13/2025
4.7.7 53 12/20/2025
4.7.6 43 12/16/2025
4.7.5 45 12/21/2025
4.7.4 3 10/01/2026
4.7.3 47 12/20/2025
4.7.2 48 12/20/2025
4.7.1 44 12/22/2025
4.7.0 51 12/15/2025
4.6.8 47 12/20/2025
4.6.7 37 12/20/2025
4.6.6 32 01/07/2026
4.6.5 43 12/21/2025
4.6.4 49 12/15/2025
4.6.3 3 10/01/2026
4.6.2 50 12/30/2025
4.6.1 52 01/01/2026
4.6.0 61 12/19/2025
4.5.11 46 12/20/2025
4.5.10 43 12/11/2025
4.5.9 49 12/20/2025
4.5.8 47 12/22/2025
4.5.7 46 12/11/2025
4.5.6 44 12/14/2025
4.5.5 49 12/17/2025
4.5.4 42 12/11/2025
4.5.3 3 10/01/2026
4.5.2 45 01/05/2026
4.5.1 43 12/20/2025
4.5.0 45 12/15/2025
4.5.0-rc07 41 12/30/2025
4.5.0-rc06 47 02/03/2026
4.4.13 44 12/15/2025
4.4.12 41 12/20/2025
4.4.11 43 12/15/2025
4.4.10 48 12/15/2025
4.4.9 43 12/19/2025
4.4.8 44 12/20/2025
4.4.7 41 12/20/2025
4.4.6 4 10/01/2026
4.4.5 40 12/13/2025
4.4.4 2 10/01/2026
4.4.3 43 12/14/2025
4.4.2 44 12/14/2025
4.4.1 3 09/29/2026
4.4.0 35 12/14/2025
4.3.11 39 12/20/2025
4.3.10 39 12/20/2025
4.3.9 39 12/18/2025
4.3.8 43 12/20/2025
4.3.7 41 12/21/2025
4.3.6 46 01/02/2026
4.3.5 38 12/20/2025
4.3.4 40 12/23/2025
4.3.3 51 12/11/2025
4.3.2 46 12/16/2025
4.3.1 43 12/11/2025
4.3.0 39 12/23/2025
4.2.3 42 01/01/2026
4.2.2 52 12/15/2025
4.2.1 37 12/19/2025
4.2.0 39 12/21/2025
4.1.2 42 12/22/2025
4.1.1 43 12/15/2025
4.1.0 41 01/06/2026
4.0.1 40 12/23/2025
4.0.0 40 12/13/2025
3.2.1 44 12/22/2025
3.2.0 43 12/11/2025
3.1.0 42 12/21/2025
3.0.0 40 12/18/2025
2.1.0 4 10/01/2026
2.0.1.2 44 12/22/2025
2.0.0.2000 38 12/12/2025
1.0.0.505 38 12/22/2025