NLog.Extensions.Logging
v6.3.0Latest Stable
net10.0net11.0.NETFramework4.6.2net8.0.NETStandard2.0.NETStandard2.1
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
Published
Nov 10, 2026
13d ago
Total Downloads
268.0M
267,991,499
Install
dotnet add package NLog.Extensions.Logging --version 6.3.0
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
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:
Changes from Previous Version
v6.2.2v6.3.0
Added Frameworks
net11.0
Removed Frameworks
net6.0
Added Dependencies
Microsoft.Extensions.Logging(net11.0)
NLog(net11.0)
Removed Dependencies
Microsoft.Extensions.Logging(net6.0)
NLog(net6.0)
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.The published metadata declares 17 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.