NLog.Extensions.Logging 6.2.0

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

ChangeLog: - [#859] Updated to NLog v6.2 (@snakefoot) - [#855] Updated tutorials and examples for using NLog with Microsoft.Extension.Logging (@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.0 1 23.08.2026
6.1.4 1 21.07.2026
6.1.3 6 06.05.2026
6.1.2 8 01.03.2026
6.1.1 5 11.02.2026
6.1.0 7 10.12.2025
6.0.6 7 10.12.2025
6.0.5 8 10.11.2025
6.0.4 8 24.09.2025
6.0.3 10 17.08.2025
6.0.2 9 17.08.2025
6.0.1 10 10.07.2025
6.0.0 10 09.07.2025
6.0.0-rc4 10 10.07.2025
6.0.0-rc3 9 10.07.2025
6.0.0-rc2 9 10.07.2025
5.5.0 10 03.06.2025
5.4.0 12 09.03.2025
5.3.15 12 24.12.2024
5.3.14 11 09.03.2025
5.3.13 11 09.03.2025
5.3.12 12 09.03.2025
5.3.11 11 09.03.2025
5.3.10 12 09.03.2025
5.3.9 12 03.06.2025
5.3.8 11 03.06.2025
5.3.7 12 03.06.2025
5.3.5 12 03.06.2025
5.3.4 12 03.06.2025
5.3.3 11 03.06.2025
5.3.2 11 03.06.2025
5.3.1 11 03.06.2025
5.3.0 12 03.06.2025
5.2.5 11 03.06.2025
5.2.3 11 03.06.2025
5.2.2 11 03.06.2025
5.2.1 13 03.06.2025
5.2.0 12 03.06.2025
5.1.0 11 03.06.2025
5.0.4 11 03.06.2025
5.0.3 11 03.06.2025
5.0.2 11 03.06.2025
5.0.1 12 03.06.2025
5.0.0 12 03.06.2025
1.7.5 11 03.06.2025
1.7.4 11 03.06.2025
1.7.3 11 03.06.2025
1.7.2 11 03.06.2025
1.7.1 11 03.06.2025
1.7.0 12 03.06.2025
1.6.5 12 03.06.2025
1.6.4 11 03.06.2025
1.6.3 11 03.06.2025
1.6.2 11 03.06.2025
1.6.1 11 03.06.2025
1.6.0 11 03.06.2025
1.5.4 12 03.06.2025
1.5.3 11 03.06.2025
1.5.2 11 03.06.2025
1.5.1 11 03.06.2025
1.5.0 11 03.06.2025
1.4.0 11 03.06.2025
1.3.0 11 03.06.2025
1.2.1 11 03.06.2025
1.2.0 11 03.06.2025
1.1.0 11 03.06.2025
1.0.2 11 03.06.2025
1.0.1 13 03.06.2025
1.0.0 12 03.06.2025