NLog.Extensions.Logging 6.0.5
NLog.Extensions.Logging
Integrates NLog as Logging provider for Microsoft.Extensions.Logging, by just calling AddNLog() on the Logging-builder.
Providing features like:
- 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 then consider using NLog.Web.AspNetCore.
Supported platforms:
- .NET 5, 6, 7, 8 and 9
- .NET 2 and 3
- .NET Standard 2.0 and 2.1
- .NET 4.6.1 - 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.
|
145 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
380 |
ChangeLog:
- Updated to NLog v6.0.5 (#811) (@snakefoot)
- NLogLoggingConfiguration - ToString includes AutoReload=true (#809) (@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
.NET Framework 4.6.2
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.0.5)
.NET 6.0
- Microsoft.Extensions.Configuration.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 6.0.0)
- NLog (>= 6.0.5)
.NET 8.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.0.5)
.NET Standard 2.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.0.5)
.NET Standard 2.1
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NLog (>= 6.0.5)
| Version | Downloads | Last updated |
|---|---|---|
| 6.1.0 | 0 | 2025-11-12 |
| 6.0.6 | 0 | 2025-11-09 |
| 6.0.5 | 2 | 2025-11-05 |
| 6.0.4 | 0 | 2025-09-11 |
| 6.0.3 | 0 | 2025-08-10 |
| 6.0.2 | 0 | 2025-07-20 |
| 6.0.1 | 0 | 2025-06-28 |
| 6.0.0 | 0 | 2025-06-21 |
| 5.5.0 | 0 | 2025-05-29 |
| 5.4.0 | 25 | 2025-04-15 |
| 5.3.15 | 1 | 2025-12-09 |
| 5.3.14 | 0 | 2024-09-23 |
| 5.3.13 | 0 | 2024-09-12 |
| 5.3.12 | 94 | 2025-04-11 |
| 5.3.11 | 0 | 2024-05-07 |
| 5.3.10 | 0 | 2024-04-30 |
| 5.3.9 | 0 | 2024-04-27 |
| 5.3.8 | 3 | 2025-10-07 |
| 5.3.7 | 0 | 2023-12-06 |
| 5.3.5 | 0 | 2023-10-15 |
| 5.3.4 | 0 | 2023-09-06 |
| 5.3.3 | 0 | 2023-08-05 |
| 5.3.2 | 0 | 2023-07-04 |
| 5.3.1 | 0 | 2023-07-01 |
| 5.3.0 | 0 | 2023-05-30 |
| 5.2.5 | 0 | 2023-05-25 |
| 5.2.3 | 0 | 2023-03-28 |
| 5.2.2 | 0 | 2023-02-17 |
| 5.2.1 | 0 | 2022-12-29 |
| 5.2.0 | 0 | 2022-11-27 |
| 5.1.0 | 0 | 2022-10-25 |
| 5.0.4 | 0 | 2022-09-01 |
| 5.0.3 | 0 | 2022-08-31 |
| 5.0.2 | 0 | 2022-08-12 |
| 5.0.1 | 0 | 2022-06-23 |
| 5.0.0 | 0 | 2022-05-17 |
| 1.7.5 | 0 | 2022-06-04 |
| 1.7.4 | 0 | 2021-08-25 |
| 1.7.3 | 0 | 2021-06-15 |
| 1.7.2 | 0 | 2021-03-26 |
| 1.7.1 | 0 | 2021-02-26 |
| 1.7.0 | 0 | 2020-12-29 |
| 1.6.5 | 0 | 2020-08-27 |
| 1.6.4 | 0 | 2020-05-20 |
| 1.6.3 | 0 | 2020-05-11 |
| 1.6.2 | 0 | 2020-03-16 |
| 1.6.1 | 0 | 2019-10-19 |
| 1.6.0 | 0 | 2019-10-07 |
| 1.5.4 | 0 | 2019-09-06 |
| 1.5.3 | 0 | 2019-08-28 |
| 1.5.2 | 0 | 2019-07-14 |
| 1.5.1 | 0 | 2019-06-05 |
| 1.5.0 | 0 | 2019-04-30 |
| 1.4.0 | 0 | 2019-01-16 |
| 1.3.0 | 0 | 2018-09-22 |
| 1.2.1 | 0 | 2018-08-05 |
| 1.2.0 | 0 | 2018-07-20 |
| 1.1.0 | 0 | 2018-05-25 |
| 1.0.2 | 0 | 2018-05-10 |
| 1.0.1 | 0 | 2018-04-07 |
| 1.0.0 | 0 | 2018-03-25 |