NLog.Extensions.Logging 6.1.3

NLog.Extensions.Logging

Integrates NLog as Logging provider for Microsoft.Extensions.Logging, by just calling AddNLog() on the Logging-builder.

Providing features like:

If using ASP.NET Core then check 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.
31
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+
31
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
30
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
30
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
29
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
28
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+
28
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
27
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
26
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
26
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
26

ChangeLog:

  • [#838] NLogLoggerFactory DisposeAsync with ConfigureAwait(false) (@11v1)
  • [#834] MicrosoftConsoleJsonLayout - Added IncludeActivityIds to output TraceId + SpanId + ParentId (@snakefoot)
  • [#837] MicrosoftConsoleJsonLayout - Keep encoded newlines for Exception (@snakefoot)
  • [#843] Updated to NLog v6.1.3 (@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.1.3 12 05/05/2026
6.1.2 20 03/03/2026
6.1.1 25 01/31/2026
6.1.0 27 12/12/2025
6.0.6 23 12/10/2025
6.0.5 23 12/10/2025
6.0.4 29 12/14/2025
6.0.3 22 12/10/2025
6.0.2 24 12/12/2025
6.0.1 26 12/12/2025
6.0.0 24 12/12/2025
6.0.0-rc4 20 12/28/2025
6.0.0-rc3 26 12/18/2025
6.0.0-rc2 18 02/04/2026
5.5.0 25 12/12/2025
5.4.0 26 12/10/2025
5.3.15 22 12/11/2025
5.3.14 25 12/12/2025
5.3.13 23 12/10/2025
5.3.12 26 12/12/2025
5.3.11 24 12/10/2025
5.3.10 22 12/12/2025
5.3.9 23 12/15/2025
5.3.8 22 12/12/2025
5.3.7 28 12/12/2025
5.3.5 20 12/11/2025
5.3.4 20 12/11/2025
5.3.3 30 12/11/2025
5.3.2 24 12/10/2025
5.3.1 22 12/16/2025
5.3.0 26 12/10/2025
5.2.5 19 12/16/2025
5.2.3 23 12/12/2025
5.2.2 25 12/10/2025
5.2.1 20 12/10/2025
5.2.0 26 12/10/2025
5.1.0 25 12/12/2025
5.0.4 28 12/12/2025
5.0.3 23 12/12/2025
5.0.2 26 12/12/2025
5.0.1 29 12/12/2025
5.0.0 27 12/12/2025
1.7.5 23 12/12/2025
1.7.4 24 12/12/2025
1.7.3 24 12/12/2025
1.7.2 25 12/12/2025
1.7.1 22 12/12/2025
1.7.0 23 12/11/2025
1.6.5 24 12/10/2025
1.6.4 21 12/10/2025
1.6.3 23 12/10/2025
1.6.2 22 12/10/2025
1.6.1 20 12/12/2025
1.6.0 24 12/10/2025
1.5.4 26 12/11/2025
1.5.3 21 12/12/2025
1.5.2 23 12/11/2025
1.5.1 25 12/11/2025
1.5.0 23 12/11/2025
1.4.0 26 12/12/2025
1.3.0 26 12/10/2025
1.2.1 22 12/16/2025
1.2.0 29 12/12/2025
1.1.0 26 12/10/2025
1.0.2 28 12/12/2025
1.0.1 26 12/12/2025
1.0.0 20 12/12/2025
1.0.0-rtm-rc7 17 01/29/2026