NLog.Extensions.Logging 6.0.0-rc2

NLog.Extensions.Logging

Integrates NLog as Logging provider for Microsoft.Extensions.Logging, by just calling AddNLog() on the Logging-builder.

Providing features like:

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.
26
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
22
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
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
27
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
29
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
59
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
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
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 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
26
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+
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 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+
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 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+
32
Quantum.Framework.AspNetCore
Package Description
37
Quantum.Framework.AspNetCore
保存claims数据到IScmSessionBug修复
31
Quantum.Framework.AspNetCore
增加redis hash方法及验证token有效性
41
Quantum.Framework.AspNetCore
增加新的EF应用,支持多租户多库。因其他外挂项目应用旧的EF应用,旧的EF功能保留
22
Quantum.Framework.AspNetCore
增加用户类型及API结果类型
38
Quantum.Framework.AspNetCore
增加获取用户授权KEY及获取用户角色方法
55
Quantum.FrameworkNetCore
Used for set up Micro-Service.
24

ChangeLog: - Updated to NLog v6.0-RC2 - Removed support for NetStandard 1.3 + 1.5 - Enabled nullable references - Avoid boxing when extracting LogEvent properties from struct - Reduce allocation when creating LogEvent with properties by using ReadOnlySpan - Enabled <IsAotCompatible> 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

Version Downloads Last updated
6.0.0-rc4 0 06/15/2025
6.0.0-rc3 1 06/12/2025
6.0.0-rc2 2 06/05/2025
5.5.0 1 06/01/2025
5.4.0 9 02/15/2025
5.3.15 15 12/11/2024
5.3.14 11 11/14/2024
5.3.13 13 11/19/2024
5.3.12 11 12/08/2024
5.3.11 22 05/12/2024
5.3.10 17 05/27/2024
5.3.9 17 05/12/2024
5.3.8 25 02/04/2024
5.3.7 17 05/12/2024
5.3.5 14 12/18/2023
5.3.4 18 05/07/2024
5.3.3 22 05/12/2024
5.3.2 19 05/07/2024
5.3.1 19 05/27/2024
5.3.0 20 06/15/2023
5.2.5 19 05/01/2024
5.2.3 62 04/13/2023
5.2.2 18 05/27/2024
5.2.1 18 05/04/2024
5.2.0 20 12/07/2022
5.1.0 20 05/12/2024
5.0.4 23 05/27/2024
5.0.3 18 05/27/2024
5.0.2 29 10/26/2022
5.0.1 20 07/31/2022
5.0.0 22 07/01/2022
1.7.5 15 05/27/2024
1.7.3 22 06/06/2022
1.7.2 23 05/27/2024
1.7.1 19 05/04/2024
1.7.0 19 05/27/2024
1.6.4 17 05/27/2024
1.6.3 20 05/04/2024
1.6.2 19 05/01/2024
1.6.0 23 05/27/2024
1.5.4 17 05/27/2024
1.5.3 21 05/27/2024
1.5.2 19 05/27/2024
1.5.1 21 06/06/2022
1.5.0 18 05/04/2024
1.4.0 29 05/04/2024
1.3.0 10 12/05/2024
1.2.1 21 06/06/2022
1.2.0 20 05/27/2024
1.1.0 27 05/07/2024
1.0.2 16 05/27/2024
1.0.1 20 05/27/2024
1.0.0 18 05/27/2024