NLog.Extensions.Logging 5.3.15
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 and 8
- .NET Core 1, 2 and 3
- .NET Standard 1.3+ and 2.0+
- .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
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
|
2,252 |
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+
|
1,966 |
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
|
939 |
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
924 |
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
|
632 |
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
|
196 |
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
143 |
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
|
27 |
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
|
27 |
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
|
26 |
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
|
25 |
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 2, .NET Standard 2.0+ and .NET 4.6+
- For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
|
25 |
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
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+
|
24 |
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
|
24 |
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
|
23 |
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
|
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 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
|
23 |
ChangeLog:
- UseNLog allow fallback to only EnvironmentName for NLog config (#773) (@snakefoot)
- NLogMessageParameterList - Optimize the index operator (#771) (@snakefoot)
- NLogMessageParameterList - Simplify the index operator (#770) (@snakefoot)
- Recognize ITuple for better AOT support (#768) (@snakefoot)
Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHANGELOG.MD
NLog v5.2 changes how to load extensions: https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html
List of major changes in NLog 5.0: https://nlog-project.org/2021/08/25/nlog-5-0-preview1-ready.html
.NET Framework 4.6.1
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.0)
- Microsoft.Extensions.Logging (>= 2.1.0)
- NLog (>= 5.3.4)
.NET Standard 2.1
- NLog (>= 5.3.4)
- Microsoft.Extensions.Logging (>= 3.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.0)
.NET Standard 2.0
- NLog (>= 5.3.4)
- Microsoft.Extensions.Logging (>= 2.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.0)
.NET 8.0
- NLog (>= 5.3.4)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
.NET 6.0
- NLog (>= 5.3.4)
- Microsoft.Extensions.Logging (>= 6.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 6.0.0)
.NET Standard 1.5
- NLog (>= 5.3.4)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.0)
.NET Standard 1.3
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.0)
- NLog (>= 5.3.4)
Version | Downloads | Last updated |
---|---|---|
5.3.15 | 2 | 12/11/2024 |
5.3.14 | 6 | 09/28/2024 |
5.3.13 | 7 | 09/16/2024 |
5.3.12 | 12 | 08/23/2024 |
5.3.11 | 18 | 05/11/2024 |
5.3.10 | 14 | 05/04/2024 |
5.3.9 | 12 | 04/29/2024 |
5.3.8 | 69 | 01/18/2024 |
5.3.7 | 22 | 12/29/2023 |
5.3.5 | 930 | 10/27/2023 |
5.3.4 | 21 | 09/29/2023 |
5.3.3 | 18 | 08/20/2023 |
5.3.2 | 20 | 07/17/2023 |
5.3.1 | 17 | 07/22/2023 |
5.3.0 | 29 | 06/04/2023 |
5.2.5 | 26 | 06/05/2023 |
5.2.3 | 28 | 06/05/2023 |
5.2.2 | 25 | 06/05/2023 |
5.2.1 | 24 | 06/05/2023 |
5.2.0 | 29 | 06/05/2023 |
5.1.0 | 21 | 06/05/2023 |
5.0.4 | 26 | 06/05/2023 |
5.0.3 | 27 | 06/05/2023 |
5.0.2 | 27 | 06/05/2023 |
5.0.1 | 24 | 06/05/2023 |
5.0.0 | 1,920 | 06/16/2022 |
1.7.5 | 20 | 06/05/2023 |
1.7.4 | 2,263 | 11/12/2021 |
1.7.3 | 25 | 06/05/2023 |
1.7.2 | 638 | 05/24/2021 |
1.7.1 | 202 | 03/01/2021 |
1.7.0 | 24 | 06/05/2023 |
1.6.5 | 26 | 06/05/2023 |
1.6.4 | 946 | 12/16/2020 |
1.6.3 | 25 | 06/05/2023 |
1.6.2 | 26 | 06/05/2023 |
1.6.1 | 22 | 06/05/2023 |
1.6.0 | 20 | 06/05/2023 |
1.5.4 | 20 | 06/05/2023 |
1.5.3 | 28 | 06/05/2023 |
1.5.2 | 24 | 06/05/2023 |
1.5.1 | 21 | 06/05/2023 |
1.5.0 | 21 | 06/05/2023 |
1.4.0 | 27 | 06/05/2023 |
1.3.0 | 23 | 06/05/2023 |
1.2.1 | 22 | 06/05/2023 |
1.2.0 | 42 | 06/05/2023 |
1.1.0 | 21 | 06/05/2023 |
1.0.2 | 23 | 06/05/2023 |
1.0.1 | 21 | 06/05/2023 |
1.0.0 | 23 | 06/05/2023 |