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
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
|
14 |
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
14 |
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
15 |
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
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
40 |
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
|
14 |
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+
|
12 |
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 |
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 |
Quantum.Framework.AspNetCore
Package Description
|
12 |
Quantum.Framework.AspNetCore
Package Description
|
30 |
Quantum.Framework.AspNetCore
保存claims数据到IScmSessionBug修复
|
22 |
Quantum.Framework.AspNetCore
增加redis deindex配置文件配置支持
|
13 |
Quantum.Framework.AspNetCore
增加redis hash方法及验证token有效性
|
28 |
Quantum.Framework.AspNetCore
增加新的EF应用,支持多租户多库。因其他外挂项目应用旧的EF应用,旧的EF功能保留
|
13 |
Quantum.Framework.AspNetCore
增加用户类型及API结果类型
|
29 |
Quantum.Framework.AspNetCore
增加获取用户授权KEY及获取用户角色方法
|
42 |
Quantum.Framework.AspNetCore
增加记录redis配置日志
|
12 |
Quantum.FrameworkNetCore
Used for set up Micro-Service.
|
13 |
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 | 3 | 12/11/2024 |
5.3.14 | 4 | 11/14/2024 |
5.3.13 | 4 | 11/19/2024 |
5.3.12 | 3 | 12/08/2024 |
5.3.11 | 14 | 05/12/2024 |
5.3.10 | 7 | 05/27/2024 |
5.3.9 | 8 | 05/12/2024 |
5.3.8 | 13 | 02/04/2024 |
5.3.7 | 8 | 05/12/2024 |
5.3.5 | 6 | 12/18/2023 |
5.3.4 | 8 | 05/07/2024 |
5.3.3 | 11 | 05/12/2024 |
5.3.2 | 10 | 05/07/2024 |
5.3.1 | 9 | 05/27/2024 |
5.3.0 | 10 | 06/15/2023 |
5.2.5 | 9 | 05/01/2024 |
5.2.3 | 46 | 04/13/2023 |
5.2.2 | 9 | 05/27/2024 |
5.2.1 | 9 | 05/04/2024 |
5.2.0 | 10 | 12/07/2022 |
5.1.0 | 11 | 05/12/2024 |
5.0.4 | 13 | 05/27/2024 |
5.0.3 | 8 | 05/27/2024 |
5.0.2 | 20 | 10/26/2022 |
5.0.1 | 10 | 07/31/2022 |
5.0.0 | 10 | 07/01/2022 |
1.7.5 | 6 | 05/27/2024 |
1.7.3 | 10 | 06/06/2022 |
1.7.2 | 10 | 05/27/2024 |
1.7.1 | 10 | 05/04/2024 |
1.7.0 | 9 | 05/27/2024 |
1.6.4 | 8 | 05/27/2024 |
1.6.3 | 11 | 05/04/2024 |
1.6.2 | 10 | 05/01/2024 |
1.6.0 | 12 | 05/27/2024 |
1.5.4 | 6 | 05/27/2024 |
1.5.3 | 6 | 05/27/2024 |
1.5.2 | 11 | 05/27/2024 |
1.5.1 | 12 | 06/06/2022 |
1.5.0 | 8 | 05/04/2024 |
1.4.0 | 14 | 05/04/2024 |
1.3.0 | 3 | 12/05/2024 |
1.2.1 | 11 | 06/06/2022 |
1.2.0 | 10 | 05/27/2024 |
1.1.0 | 13 | 05/07/2024 |
1.0.2 | 7 | 05/27/2024 |
1.0.1 | 8 | 05/27/2024 |
1.0.0 | 7 | 05/27/2024 |