NLog.Web.AspNetCore 4.13.0-readme-preview
NLog.Web.AspNetCore
This package is an extension to NLog.
This package contains targets and layout-renderes specific for ASP.NET Core and with the use of NLog.Extensions.Logging it integrates into the ASP.NET Core logging as described at Microsoft docs.
Getting started with NLog
- Getting started for ASP.NET Core 5
- Getting started for ASP.NET Core 3
- Getting started for ASP.NET Core 2
- Getting started for .NET Core 2 Console application
- Getting started for ASP.NET Core 1 (csproj - vs2017)
- How to use structured logging
Config
- All config options: nlog-project.org/config
Troubleshooting
Releases
For updates and releases, check CHANGELOG.MD or Releases
ASP.NET Core
ASP.NET Core 1, 2, 3 and 5 are supported!
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
ℹ️ Missing the trace and debug logs in .NET Core 2? Check your appsettings.json
Use the NLog.Web.AspNetCore package
There is a special package for ASP.NET Core / MVC Core. This is needed because we can't detect if ASP.NET or ASP.NET Core is used. The package depends on NLog.Extensions.Logging - which integrates with the ASP.NET Core logging system.
Contributions
Contributions are highly appreciated! Please make sure if works for ASP.NET and ASP.NET Core if possible and make sure it is covered by unit tests.
License
BSD
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 |
.NET Framework 4.5.1
- Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.2)
- NLog.Extensions.Logging (>= 1.7.2)
- Microsoft.AspNetCore.Routing.Abstractions (>= 1.1.2)
- Microsoft.AspNetCore.Http (>= 1.1.2)
.NET Standard 2.0
- NLog.Extensions.Logging (>= 1.7.2)
- Microsoft.AspNetCore.Routing.Abstractions (>= 2.1.0)
- Microsoft.AspNetCore.Http (>= 2.1.0)
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.1.0)
.NET Core 3.0
- NLog.Extensions.Logging (>= 1.7.2)
.NET Standard 1.5
- NLog.Extensions.Logging (>= 1.7.2)
- Microsoft.AspNetCore.Routing.Abstractions (>= 1.1.2)
- Microsoft.AspNetCore.Http (>= 1.1.2)
- NETStandard.Library (>= 1.6.1)
- Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.2)
.NET Framework 4.6.1
- NLog.Extensions.Logging (>= 1.7.2)
- Microsoft.AspNetCore.Routing.Abstractions (>= 2.1.0)
- Microsoft.AspNetCore.Http (>= 2.1.0)
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.1.0)
Version | Downloads | Last updated |
---|---|---|
5.3.15 | 3 | 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 |