NLog.Extensions.Logging 5.3.2
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 check NLog.Web.AspNetCore.
Supported platforms:
- .NET 5, 6 and 7
- .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
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
|
10 |
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.
|
8 |
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
11 |
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
12 |
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
38 |
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
|
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+
|
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+
|
11 |
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+
|
19 |
Quantum.Framework.AspNetCore
Package Description
|
26 |
Quantum.Framework.AspNetCore
保存claims数据到IScmSessionBug修复
|
17 |
Quantum.Framework.AspNetCore
增加redis deindex配置文件配置支持
|
9 |
Quantum.Framework.AspNetCore
增加redis hash方法及验证token有效性
|
23 |
Quantum.Framework.AspNetCore
增加新的EF应用,支持多租户多库。因其他外挂项目应用旧的EF应用,旧的EF功能保留
|
9 |
Quantum.Framework.AspNetCore
增加用户类型及API结果类型
|
22 |
Quantum.Framework.AspNetCore
增加获取用户授权KEY及获取用户角色方法
|
36 |
Quantum.Framework.AspNetCore
增加记录redis配置日志
|
8 |
Quantum.FrameworkNetCore
Used for set up Micro-Service.
|
9 |
ChangeLog:
- Updated to NLog v5.2.2 (#680) (@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)
- NLog (>= 5.2.2)
- Microsoft.Extensions.Logging (>= 2.1.0)
.NET Standard 2.1
- NLog (>= 5.2.2)
- Microsoft.Extensions.Logging (>= 3.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.0)
.NET Standard 2.0
- NLog (>= 5.2.2)
- Microsoft.Extensions.Logging (>= 2.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.0)
.NET 6.0
- Microsoft.Extensions.Logging (>= 6.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 6.0.0)
- NLog (>= 5.2.2)
.NET Standard 1.5
- NLog (>= 5.2.2)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.0)
.NET Standard 1.3
- NLog (>= 5.2.2)
- NETStandard.Library (>= 1.6.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
Version | Downloads | Last updated |
---|---|---|
5.3.14 | 0 | 09/23/2024 |
5.3.13 | 0 | 09/12/2024 |
5.3.12 | 0 | 08/12/2024 |
5.3.11 | 10 | 05/12/2024 |
5.3.10 | 3 | 05/27/2024 |
5.3.9 | 5 | 05/12/2024 |
5.3.8 | 10 | 02/04/2024 |
5.3.7 | 3 | 05/12/2024 |
5.3.5 | 3 | 12/18/2023 |
5.3.4 | 4 | 05/07/2024 |
5.3.3 | 4 | 05/12/2024 |
5.3.2 | 3 | 05/07/2024 |
5.3.1 | 5 | 05/27/2024 |
5.3.0 | 6 | 06/15/2023 |
5.2.5 | 6 | 05/01/2024 |
5.2.3 | 43 | 04/13/2023 |
5.2.2 | 5 | 05/27/2024 |
5.2.1 | 5 | 05/04/2024 |
5.2.0 | 7 | 12/07/2022 |
5.1.0 | 6 | 05/12/2024 |
5.0.4 | 8 | 05/27/2024 |
5.0.3 | 5 | 05/27/2024 |
5.0.2 | 15 | 10/26/2022 |
5.0.1 | 7 | 07/31/2022 |
5.0.0 | 7 | 07/01/2022 |
1.7.5 | 2 | 05/27/2024 |
1.7.3 | 6 | 06/06/2022 |
1.7.2 | 6 | 05/27/2024 |
1.7.1 | 5 | 05/04/2024 |
1.7.0 | 6 | 05/27/2024 |
1.6.4 | 4 | 05/27/2024 |
1.6.3 | 7 | 05/04/2024 |
1.6.2 | 6 | 05/01/2024 |
1.6.0 | 6 | 05/27/2024 |
1.5.4 | 2 | 05/27/2024 |
1.5.3 | 4 | 05/27/2024 |
1.5.2 | 7 | 05/27/2024 |
1.5.1 | 6 | 06/06/2022 |
1.5.0 | 5 | 05/04/2024 |
1.4.0 | 9 | 05/04/2024 |
1.3.0 | 0 | 09/22/2018 |
1.2.1 | 7 | 06/06/2022 |
1.2.0 | 7 | 05/27/2024 |
1.1.0 | 8 | 05/07/2024 |
1.0.2 | 4 | 05/27/2024 |
1.0.1 | 4 | 05/27/2024 |
1.0.0 | 4 | 05/27/2024 |