NLog.Extensions.Logging 6.0.2

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, 8 and 9
  • .NET 2 and 3
  • .NET Standard 2.0 and 2.1
  • .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.
27
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
29
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
25
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.
30
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
32
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
66
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 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
30
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+
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 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+
28
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+
35
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
Quantum.Framework.AspNetCore
Package Description
37
Quantum.Framework.AspNetCore
保存claims数据到IScmSessionBug修复
33
Quantum.Framework.AspNetCore
增加redis hash方法及验证token有效性
43
Quantum.Framework.AspNetCore
增加用户类型及API结果类型
39
Quantum.Framework.AspNetCore
增加获取用户授权KEY及获取用户角色方法
57
Quantum.FrameworkNetCore
Used for set up Micro-Service.
25

ChangeLog: - Updated to NLog v6.0.2 (#805) (@snakefoot) 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.2 1 07/25/2025
6.0.1 4 07/01/2025
6.0.0 3 06/26/2025
6.0.0-rc4 3 06/19/2025
6.0.0-rc3 5 06/12/2025
6.0.0-rc2 5 06/05/2025
5.5.0 4 06/01/2025
5.4.0 11 02/15/2025
5.3.15 18 12/11/2024
5.3.14 14 11/14/2024
5.3.13 16 11/19/2024
5.3.12 13 12/08/2024
5.3.11 25 05/12/2024
5.3.10 18 05/27/2024
5.3.9 19 05/12/2024
5.3.8 27 02/04/2024
5.3.7 19 05/12/2024
5.3.5 16 12/18/2023
5.3.4 21 05/07/2024
5.3.3 25 05/12/2024
5.3.2 21 05/07/2024
5.3.1 21 05/27/2024
5.3.0 22 06/15/2023
5.2.5 22 05/01/2024
5.2.3 66 04/13/2023
5.2.2 21 05/27/2024
5.2.1 20 05/04/2024
5.2.0 22 12/07/2022
5.1.0 22 05/12/2024
5.0.4 26 05/27/2024
5.0.3 19 05/27/2024
5.0.2 31 10/26/2022
5.0.1 22 07/31/2022
5.0.0 25 07/01/2022
1.7.5 18 05/27/2024
1.7.3 25 06/06/2022
1.7.2 26 05/27/2024
1.7.1 20 05/04/2024
1.7.0 21 05/27/2024
1.6.4 20 05/27/2024
1.6.3 24 05/04/2024
1.6.2 20 05/01/2024
1.6.0 28 05/27/2024
1.5.4 20 05/27/2024
1.5.3 24 05/27/2024
1.5.2 22 05/27/2024
1.5.1 23 06/06/2022
1.5.0 19 05/04/2024
1.4.0 33 05/04/2024
1.3.0 13 12/05/2024
1.2.1 23 06/06/2022
1.2.0 23 05/27/2024
1.1.0 29 05/07/2024
1.0.2 18 05/27/2024
1.0.1 22 05/27/2024
1.0.0 20 05/27/2024