NLog.Extensions.Logging 6.2.2

NLog.Extensions.Logging

NLog.Extensions.Logging integrates NLog as a logging provider for Microsoft.Extensions.Logging.

Application code can continue using ILogger<T>, while NLog provides powerful logging capabilities including:

If using ASP.NET Core, use NLog.Web.AspNetCore.

Supported platforms:

  • .NET 6, 7, 8, 9 and 10
  • .NET Standard 2.0 and 2.1
  • .NET 4.6.2 - 4.8

Register NLog as logging provider:

builder.Logging.ClearProviders();
builder.Logging.AddNLog();

Useful Links:

Showing the top 20 packages that depend on NLog.Extensions.Logging.

Packages Downloads
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
395
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
52
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
48
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
47
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 6, .NET 6 - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.1 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+
44
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
43
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
43
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
42
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
41
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
40
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 6, .NET 6 - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.1 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+
40
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 6, .NET 6 - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.1 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+
39
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
39
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.0 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
39
NLog.Web.AspNetCore
Use NLog with the ASP.NET Core platform. Adds helpers and layout renderers for websites and webapplications. Supported platforms: - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
38
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
38

ChangeLog:

  • [#872] Updated to NLog v6.2.2 (@snakefoot)
  • [#868] NLogLogger - Change OriginalFormatPropertyName to string.Intern for ReferenceEquals fast-path (@snakefoot)

Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHANGELOG.MD

List of major changes in NLog 6.0: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html

Version Downloads Last updated
6.2.2 2 10/16/2026
6.2.1 398 09/18/2026
6.2.0 22 08/18/2026
6.1.4 26 07/13/2026
6.1.3 32 05/05/2026
6.1.2 43 03/03/2026
6.1.1 51 01/31/2026
6.1.0 36 12/12/2025
6.0.6 4 09/30/2026
6.0.5 4 09/30/2026
6.0.4 37 12/14/2025
6.0.3 38 12/10/2025
6.0.2 33 12/12/2025
6.0.1 35 12/12/2025
6.0.0 38 12/12/2025
6.0.0-rc4 31 12/28/2025
6.0.0-rc3 37 12/18/2025
6.0.0-rc2 33 02/04/2026
5.5.0 37 12/12/2025
5.4.0 4 09/30/2026
5.3.15 31 12/11/2025
5.3.14 45 12/12/2025
5.3.13 4 10/01/2026
5.3.12 34 12/12/2025
5.3.11 5 10/01/2026
5.3.10 31 12/12/2025
5.3.9 30 12/15/2025
5.3.8 34 12/12/2025
5.3.7 36 12/12/2025
5.3.5 29 12/11/2025
5.3.4 31 12/11/2025
5.3.3 43 12/11/2025
5.3.2 4 10/01/2026
5.3.1 31 12/16/2025
5.3.0 3 10/01/2026
5.2.5 27 12/16/2025
5.2.3 30 12/12/2025
5.2.2 5 10/01/2026
5.2.1 3 10/01/2026
5.2.0 4 10/01/2026
5.1.0 35 12/12/2025
5.0.4 47 12/12/2025
5.0.3 30 12/12/2025
5.0.2 37 12/12/2025
5.0.1 44 12/12/2025
5.0.0 35 12/12/2025
1.7.5 43 12/12/2025
1.7.4 34 12/12/2025
1.7.3 31 12/12/2025
1.7.2 42 12/12/2025
1.7.1 30 12/12/2025
1.7.0 33 12/11/2025
1.6.5 4 09/30/2026
1.6.4 3 10/01/2026
1.6.3 6 09/29/2026
1.6.2 3 10/01/2026
1.6.1 40 12/12/2025
1.6.0 5 10/01/2026
1.5.4 35 12/11/2025
1.5.3 29 12/12/2025
1.5.2 49 12/11/2025
1.5.1 35 12/11/2025
1.5.0 40 12/11/2025
1.4.0 43 12/12/2025
1.3.0 5 10/01/2026
1.2.1 39 12/16/2025
1.2.0 45 12/12/2025
1.1.0 3 10/01/2026
1.0.2 43 12/12/2025
1.0.1 47 12/12/2025
1.0.0 30 12/12/2025
1.0.0-rtm-rc7 32 01/29/2026