NLog.Extensions.Logging 6.3.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:
- Capture structured message properties from the Microsoft ILogger
- Capture scope context properties from the Microsoft ILogger
BeginScope - Load NLog configuration from appsettings.json
- Routing logging output to multiple destinations via the available NLog Targets
- Enrich logging output with additional context details via the available NLog LayoutRenderers
- Rendering logging output into standard formats like JSON, CVS, W3C ELF and XML using NLog Layouts.
If using ASP.NET Core, use NLog.Web.AspNetCore.
Supported platforms:
- .NET 8, 10 and 11
- .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
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
|
878 |
|
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
|
587 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
45 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
36 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
24 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
23 |
|
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+
|
22 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
22 |
|
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
|
21 |
|
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
|
20 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
20 |
|
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
|
18 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
18 |
|
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
|
17 |
|
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
|
16 |
|
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
|
16 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
16 |
|
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
|
16 |
|
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+
|
16 |
ChangeLog:
- Added .NET 11 support (#891, @304NotModified)
- Removed .NET 6 support (#891, @304NotModified)
- Small performance and allocations improvements for .NET9+ and .NET 4.8 (#890, @304NotModified)
- Moved to GitHub Actions (#874, @304NotModified)
- Moved to Coverlet (#880, @304NotModified)
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
.NET 10.0
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Logging (>= 10.0.0)
- NLog (>= 6.2.2)
.NET 11.0
- Microsoft.Extensions.Logging (>= 11.0.0)
- NLog (>= 6.2.2)
.NET Framework 4.6.2
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.2.2)
.NET 8.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.2.2)
.NET Standard 2.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.2.2)
.NET Standard 2.1
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.2.2)
| Version | Downloads | Last updated |
|---|---|---|
| 6.3.0 | 1 | 11/16/2026 |
| 6.2.2 | 3 | 10/30/2026 |
| 6.2.1 | 2 | 10/01/2026 |
| 6.2.0 | 11 | 08/30/2026 |
| 6.1.4 | 14 | 07/19/2026 |
| 6.1.3 | 16 | 05/15/2026 |
| 6.1.2 | 17 | 03/04/2026 |
| 6.1.1 | 18 | 02/04/2026 |
| 6.1.0 | 12 | 11/18/2025 |
| 6.0.6 | 14 | 11/18/2025 |
| 6.0.5 | 14 | 10/15/2025 |
| 6.0.4 | 17 | 09/17/2025 |
| 6.0.3 | 17 | 08/16/2025 |
| 6.0.2 | 16 | 07/23/2025 |
| 6.0.1 | 16 | 07/23/2025 |
| 6.0.0 | 16 | 06/22/2025 |
| 6.0.0-rc4 | 12 | 06/20/2025 |
| 6.0.0-rc3 | 13 | 08/17/2025 |
| 5.5.0 | 13 | 06/21/2025 |
| 5.4.0 | 21 | 02/14/2025 |
| 5.3.15 | 30 | 12/03/2024 |
| 5.3.14 | 17 | 10/01/2024 |
| 5.3.13 | 50 | 09/16/2024 |
| 5.3.12 | 18 | 08/15/2024 |
| 5.3.11 | 39 | 06/20/2024 |
| 5.3.10 | 19 | 06/29/2024 |
| 5.3.9 | 18 | 07/14/2024 |
| 5.3.8 | 62 | 02/05/2024 |
| 5.3.7 | 21 | 12/15/2023 |
| 5.3.5 | 23 | 01/09/2024 |
| 5.3.4 | 19 | 01/09/2024 |
| 5.3.3 | 13 | 01/09/2024 |
| 5.3.2 | 22 | 01/11/2024 |
| 5.3.1 | 14 | 01/09/2024 |
| 5.3.0 | 23 | 01/09/2024 |
| 5.2.5 | 18 | 01/09/2024 |
| 5.2.3 | 17 | 01/09/2024 |
| 5.2.2 | 19 | 01/09/2024 |
| 5.2.1 | 20 | 01/09/2024 |
| 5.2.0 | 18 | 01/09/2024 |
| 5.1.0 | 17 | 01/09/2024 |
| 5.0.4 | 19 | 11/06/2022 |
| 5.0.3 | 16 | 12/27/2023 |
| 5.0.2 | 18 | 01/09/2024 |
| 5.0.1 | 17 | 08/15/2022 |
| 5.0.0 | 24 | 06/16/2022 |
| 1.7.5 | 21 | 01/09/2024 |
| 1.7.4 | 17 | 09/29/2021 |
| 1.7.3 | 593 | 07/19/2021 |
| 1.7.2 | 14 | 01/09/2024 |
| 1.7.1 | 21 | 01/09/2024 |
| 1.7.0 | 873 | 02/16/2021 |
| 1.6.5 | 22 | 01/09/2024 |
| 1.6.4 | 13 | 01/09/2024 |
| 1.6.3 | 19 | 12/30/2023 |
| 1.6.2 | 16 | 01/09/2024 |
| 1.6.1 | 15 | 01/09/2024 |
| 1.6.0 | 18 | 01/09/2024 |
| 1.5.4 | 12 | 01/09/2024 |
| 1.5.3 | 16 | 01/09/2024 |
| 1.5.2 | 18 | 01/09/2024 |
| 1.5.1 | 15 | 12/12/2023 |
| 1.5.0 | 17 | 01/09/2024 |
| 1.4.0 | 20 | 12/12/2023 |
| 1.3.0 | 19 | 01/08/2024 |
| 1.2.1 | 24 | 01/09/2024 |
| 1.2.0 | 16 | 01/09/2024 |
| 1.1.0 | 18 | 01/08/2024 |
| 1.0.2 | 19 | 01/11/2024 |
| 1.0.1 | 12 | 01/09/2024 |
| 1.0.0 | 17 | 01/09/2024 |