NLog.Web.AspNetCore 5.3.15

NLog.Web.AspNetCore

Integrates NLog as Logging provider for the ASP.NET Core platform, by just calling UseNLog() with the application host-builder.

Providing features like:

  • Enrich logging output with additional details from active HttpContext using NLog LayoutRenderers, by just updating the NLog configuration.
  • Supports middleware injection for HTTP Request Logging and HTTP Response Logging.
  • Routing logging output to multiple destinations via the available NLog Targets
  • Rendering logging output into standard formats like JSON, CVS, W3C ELF and XML using NLog Layouts.
  • Contributions are always welcome, by creating a pull request.

Supported platforms:

  • ASP.NET Core 5, 6, 7 and 8
  • ASP.NET Core 3.1
  • ASP.NET Core 2, .NET Standard 2.0 and .NET 4.6.1+

Registration of NLog.Web.AspNetCore in the NLog.config file:

<extensions>
    <add assembly="NLog.Web.AspNetCore"/>
</extensions>

Registration of NLog.Web.AspNetCore can also be performed with fluent setup:

NLog.LogManager.Setup().LoadConfigurationFromAppSettings();

Useful Links:

Showing the top 20 packages that depend on NLog.Web.AspNetCore.

Packages Downloads
QuantumAsia.DEC.Controllers
接口平台公共组件
8
QuantumAsia.DEC.Controllers
接口平台公共组件
9
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
ZhonTai.Admin
中台Admin接口库
10
ZhonTai.Admin
中台Admin权限管理接口库
8
ZhonTai.Admin
中台Admin权限管理接口库
9
ZhonTai.Admin
中台Admin权限管理接口库
10
ZhonTai.Admin
中台Admin权限管理接口库
12
ZhonTai.Admin
中台Admin权限管理接口库
15

ChangeLog: - UseNLog Allow fallback to only EnvironmentName for NLog config (#1066) (@snakefoot) - Updated dependency NLog.Extensions.Logging v5.3.15 (#1067) (@snakefoot) List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html Full changelog: https://github.com/NLog/NLog.Web/releases List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-renderers&search=package:nlog.web.aspnetcore

Version Downloads Last updated
5.3.15 4 12/24/2024
5.3.14 6 11/14/2024
5.3.13 3 11/28/2024
5.3.12 5 12/10/2024
5.3.11 11 05/12/2024
5.3.10 12 05/12/2024
5.3.9 10 05/12/2024
5.3.8 15 02/04/2024
5.3.7 16 04/23/2024
5.3.5 10 04/22/2024
5.3.4 10 04/22/2024
5.3.3 10 04/23/2024
5.3.2 10 04/22/2024
5.3.1 6 04/23/2024
5.3.0 10 06/05/2023
5.2.3 40 04/13/2023
5.2.2 14 04/23/2024
5.2.1 10 06/15/2023
5.2.0 10 12/07/2022
5.1.5 11 05/29/2024
5.1.4 12 05/27/2024
5.1.2 12 04/10/2024
5.1.1 16 08/25/2022
5.1.0 24 04/09/2024
4.15.0 9 05/16/2024
4.13.0 14 05/02/2024
4.13.0-readme-preview 7 05/23/2024
4.12.0 12 06/11/2022
4.11.0 12 06/06/2022
4.8.6 7 05/29/2024
4.6.0 9 04/22/2024
4.5.4 8 05/08/2024
4.5.3 9 06/05/2023
4.5.2 11 06/15/2023
4.5.0 8 04/23/2024
4.4.0 7 05/02/2024
4.3.1 9 04/25/2024
4.3.0 14 04/22/2024