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
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
2
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
2
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
3
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
5
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
2
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+
2
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+
3
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
2

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 7 05/09/2026
6.1.2 35 03/20/2026
6.1.1 3 04/16/2026
6.1.0 2 04/24/2026
6.0.6 2 04/24/2026
6.0.5 3 03/25/2026
6.0.4 2 04/24/2026
6.0.3 2 04/24/2026
6.0.2 2 04/24/2026
6.0.1 2 04/24/2026
6.0.0 2 04/24/2026
5.5.0 2 04/24/2026
5.4.0 11 03/25/2026
5.3.15 2 04/24/2026
5.3.14 2 04/24/2026
5.3.13 2 04/24/2026
5.3.12 2 04/24/2026
5.3.11 2 03/20/2026
5.3.10 2 04/24/2026
5.3.9 2 04/24/2026
5.3.8 2 04/24/2026
5.3.7 2 04/24/2026
5.3.5 2 04/24/2026
5.3.4 2 04/24/2026
5.3.3 2 04/24/2026
5.3.2 2 04/24/2026
5.3.1 2 04/24/2026
5.3.0 2 04/24/2026
5.2.5 3 04/24/2026
5.2.3 2 04/24/2026
5.2.2 2 04/24/2026
5.2.1 2 04/24/2026
5.2.0 3 04/24/2026
5.1.0 2 04/24/2026
5.0.4 2 04/24/2026
5.0.3 2 04/24/2026
5.0.2 2 04/24/2026
5.0.1 2 04/24/2026
5.0.0 2 04/24/2026
1.7.5 2 04/24/2026
1.7.4 2 04/24/2026
1.7.3 2 04/24/2026
1.7.2 2 04/24/2026
1.7.1 2 04/24/2026
1.7.0 2 04/24/2026
1.6.5 2 04/24/2026
1.6.4 2 04/24/2026
1.6.3 2 04/24/2026
1.6.2 2 04/24/2026
1.6.1 2 04/24/2026
1.6.0 2 04/24/2026
1.5.4 2 04/24/2026
1.5.3 2 04/24/2026
1.5.2 2 04/24/2026
1.5.1 2 04/24/2026
1.5.0 2 04/24/2026
1.4.0 2 04/24/2026
1.3.0 2 04/24/2026
1.2.1 2 04/24/2026
1.2.0 2 04/24/2026
1.1.0 2 04/24/2026
1.0.2 2 04/24/2026
1.0.1 2 04/24/2026
1.0.0 2 04/24/2026