NLog.Extensions.Logging 6.1.0

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 check NLog.Web.AspNetCore.

Supported platforms:

  • .NET 6, 7, 8, 9 and 10
  • .NET Standard 2.0 and 2.1
  • .NET 4.6.2 - 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
AgileLabs
Package Description
43
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
40
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
41
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
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
41
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
42
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
43
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
46
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
88
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
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 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+
43
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+
47
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
42
Quantum.Framework.AspNetCore
Package Description
47
Quantum.Framework.AspNetCore
保存claims数据到IScmSessionBug修复
43
Quantum.Framework.AspNetCore
增加redis hash方法及验证token有效性
56
Quantum.Framework.AspNetCore
增加事务 ClaimsSession增加?.运算符判断
40
Quantum.Framework.AspNetCore
增加用户类型及API结果类型
51
Quantum.Framework.AspNetCore
增加获取用户授权KEY及获取用户角色方法
70

ChangeLog: - [#818] Added TargetFramework .NET 10 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.1.0 6 11/20/2025
6.0.6 5 11/13/2025
6.0.5 8 10/14/2025
6.0.4 8 09/13/2025
6.0.3 13 08/14/2025
6.0.2 16 07/25/2025
6.0.1 16 07/01/2025
6.0.0 15 06/26/2025
6.0.0-rc4 12 06/19/2025
6.0.0-rc3 14 06/12/2025
6.0.0-rc2 15 06/05/2025
5.5.0 12 06/01/2025
5.4.0 24 02/15/2025
5.3.15 26 12/11/2024
5.3.14 22 11/14/2024
5.3.13 25 11/19/2024
5.3.12 23 12/08/2024
5.3.11 34 05/12/2024
5.3.10 28 05/27/2024
5.3.9 34 05/12/2024
5.3.8 42 02/04/2024
5.3.7 29 05/12/2024
5.3.5 29 12/18/2023
5.3.4 33 05/07/2024
5.3.3 37 05/12/2024
5.3.2 33 05/07/2024
5.3.1 30 05/27/2024
5.3.0 33 06/15/2023
5.2.5 34 05/01/2024
5.2.3 84 04/13/2023
5.2.2 32 05/27/2024
5.2.1 33 05/04/2024
5.2.0 34 12/07/2022
5.1.0 33 05/12/2024
5.0.4 37 05/27/2024
5.0.3 33 05/27/2024
5.0.2 41 10/26/2022
5.0.1 33 07/31/2022
5.0.0 40 07/01/2022
1.7.5 30 05/27/2024
1.7.3 40 06/06/2022
1.7.2 40 05/27/2024
1.7.1 32 05/04/2024
1.7.0 37 05/27/2024
1.6.4 30 05/27/2024
1.6.3 33 05/04/2024
1.6.2 33 05/01/2024
1.6.0 47 05/27/2024
1.5.4 30 05/27/2024
1.5.3 36 05/27/2024
1.5.2 34 05/27/2024
1.5.1 34 06/06/2022
1.5.0 30 05/04/2024
1.4.0 47 05/04/2024
1.3.0 26 12/05/2024
1.2.1 34 06/06/2022
1.2.0 37 05/27/2024
1.1.0 41 05/07/2024
1.0.2 28 05/27/2024
1.0.1 37 05/27/2024
1.0.0 32 05/27/2024