NLog.Extensions.Logging 6.0.6

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

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

ChangeLog: - [#817] Updated to NLog v6.0.6 (@snakefoot) - [#814] Avoid boxing ITuple when used for BeginScope (@snakefoot) - [#813] Allow BeginScope to perform reflection of KeyValuePair (@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.0.6 1 2025/11/11
6.0.5 1 2025/10/30
6.0.4 3 2025/9/19
6.0.3 2 2025/9/30
6.0.2 2 2025/9/30
6.0.1 2 2025/9/30
6.0.0 2 2025/9/30
6.0.0-rc4 2 2025/6/20
6.0.0-rc3 4 2025/6/8
6.0.0-rc2 5 2025/6/4
5.5.0 7 2025/5/31
5.4.0 10 2025/5/26
5.3.15 7 2025/6/4
5.3.14 3 2025/6/4
5.3.13 2 2025/6/4
5.3.12 7 2025/5/27
5.3.11 2 2025/6/4
5.3.10 3 2025/6/4
5.3.9 7 2025/6/3
5.3.8 5 2025/6/3
5.3.7 3 2025/5/28
5.3.5 10 2025/6/4
5.3.4 3 2025/5/27
5.3.3 7 2025/6/2
5.3.2 6 2025/6/2
5.3.1 4 2025/5/29
5.3.0 4 2025/6/3
5.2.5 3 2025/6/3
5.2.3 5 2025/4/17
5.2.2 5 2025/5/29
5.2.1 5 2025/4/17
5.2.0 8 2025/6/2
5.1.0 8 2025/6/2
5.0.4 9 2025/6/3
5.0.3 3 2025/6/3
5.0.2 4 2025/5/28
5.0.1 4 2025/6/2
5.0.0 4 2025/4/17
1.7.5 11 2025/5/28
1.7.4 5 2025/5/27
1.7.3 12 2025/5/29
1.7.2 6 2025/5/29
1.7.1 7 2025/5/29
1.7.0 8 2025/6/2
1.6.5 6 2025/6/3
1.6.4 4 2025/5/28
1.6.3 10 2025/6/2
1.6.2 4 2025/5/29
1.6.1 4 2025/5/29
1.6.0 3 2025/4/17
1.5.4 5 2025/5/28
1.5.3 7 2025/6/2
1.5.2 4 2025/5/29
1.5.1 13 2025/5/29
1.5.0 4 2025/5/28
1.4.0 4 2025/5/28
1.3.0 6 2025/5/28
1.2.1 4 2025/5/27
1.2.0 6 2025/5/28
1.1.0 3 2025/5/27
1.0.2 6 2025/5/28
1.0.1 4 2025/5/28
1.0.0 6 2025/6/2