项目
在 GitHub 查看
NLog/NLog.Web
关于
适用于 ASP.NET 和 ASP.NET Core 的 NLog 集成
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
NLog.Web (ASP.NET & ASP.NET Core)
| Nuget-package | Description | Supported Platforms |
|---|---|---|
| ASP.NET Core applications for new .NET platforms | .NET 8, 9, 10 and 11 | |
| Classic ASP.NET MVC applications for .NET Framework | .NET Framework 3.5 - 4.8 |
Extensions for NLog that includes layout-renderes for capturing contextual details from the HttpContext for both ASP.NET Core and IIS.
Releases
For updates and releases, check CHANGELOG.MD or Releases
ASP.NET Core
The NLog.Web.AspNetCore-package works with the new ASP.NET Core platforms .NET 8, 9, 10 and 11
- Tutorial for using NLog with ASP.NET Core
- Layout renderers for ASP.NET Core
- How to use structured logging
ASP.NET Classic
The NLog.Web-package works with classic ASP.NET MVC with .NET Framework 3.5 - 4.8
NLog 5.0 requires that NLog.config must include NLog.Web in extensions:
<!-- enable ASP.NET layout renderers -->
<extensions>
<add assembly="NLog.Web"/>
</extensions>
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
探索相关项目
加载中…