NLog.Web
5.2.2
dotnet add package NLog.Web --version 5.2.2
NuGet\Install-Package NLog.Web -Version 5.2.2
<PackageReference Include="NLog.Web" Version="5.2.2" />
paket add NLog.Web --version 5.2.2
#r "nuget: NLog.Web, 5.2.2"
// Install NLog.Web as a Cake Addin
#addin nuget:?package=NLog.Web&version=5.2.2
// Install NLog.Web as a Cake Tool
#tool nuget:?package=NLog.Web&version=5.2.2
NLog.Web
Integrates NLog with the System.Web.HttpContext. If using ASP.NET Core then check NLog.Web.AspNetCore.
Providing features like:
- Enrich logging output with additional details from active HttpContext using NLog LayoutRenderers, by just updating the NLog configuration.
- Supports HttpModule injection for HTTP Request 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:
- .NET 3.5 - 4.8
Registration of NLog.Web in the NLog.config file:
<extensions>
<add assembly="NLog.Web"/>
</extensions>
Registration of NLog.Web can also be performed with fluent setup:
NLog.LogManager.Setup().RegisterNLogWeb();
Useful Links
Product | Versions |
---|---|
.NET Framework | net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
NuGet packages (9)
Showing the top 5 NuGet packages that depend on NLog.Web:
Package | Downloads |
---|---|
Cgu.Comum.Util
Classes utilitárias de uso comum em projetos .net |
|
Stems.API.Base
Provides base functionalities for Stems APIs |
|
MP.FT.MicroServiceInfra
This is a simple framework to configure logging, security, AAA handshake for all of microservices written in dotnetcore for ForeignTrade project. |
|
Linn.Core.Logging.NLog
Logging implementation based on NLog. |
|
IME.WCF.SecurityFramework
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on NLog.Web:
Repository | Stars |
---|---|
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
|
Version | Downloads | Last updated |
---|---|---|
5.2.2 | 9,675 | 2/17/2023 |
5.2.1 | 24,721 | 12/30/2022 |
5.2.0 | 17,642 | 11/27/2022 |
5.1.5 | 16,599 | 10/25/2022 |
5.1.4 | 30,622 | 9/1/2022 |
5.1.2 | 1,156 | 9/1/2022 |
5.1.1 | 5,856 | 8/17/2022 |
5.1.0 | 17,361 | 7/18/2022 |
5.0.0 | 38,405 | 5/17/2022 |
4.15.0 | 8,206 | 6/4/2022 |
4.14.0 | 310,566 | 8/28/2021 |
4.13.0 | 56,667 | 7/14/2021 |
4.12.0 | 193,016 | 3/29/2021 |
4.11.0 | 37,412 | 2/27/2021 |
4.10.0 | 68,421 | 12/30/2020 |
4.9.3 | 299,542 | 8/1/2020 |
4.9.2 | 370,571 | 4/20/2020 |
4.9.1 | 56,978 | 3/30/2020 |
4.9.0 | 397,476 | 10/11/2019 |
4.8.5 | 80,913 | 9/7/2019 |
4.8.4 | 153,142 | 7/2/2019 |
4.8.3 | 70,935 | 6/5/2019 |
4.8.2 | 74,524 | 5/4/2019 |
4.8.1 | 164,544 | 3/18/2019 |
4.8.0 | 158,161 | 1/30/2019 |
4.7.1 | 51,359 | 1/6/2019 |
4.7.0 | 378,581 | 9/22/2018 |
4.6.0 | 125,538 | 8/5/2018 |
4.5.3 | 363,864 | 4/12/2018 |
4.5.2 | 39,734 | 3/27/2018 |
4.5.1 | 537,205 | 10/12/2017 |
4.5.0 | 533,308 | 5/14/2017 |
4.4.0 | 201,943 | 2/17/2017 |
4.3.1 | 21,417 | 2/10/2017 |
4.3.0 | 53,132 | 1/18/2017 |
4.2.1 | 552,706 | 5/12/2016 |
4.2.0 | 128,948 | 2/7/2016 |
4.1.0 | 70,616 | 11/26/2015 |
4.0.0 | 79,260 | 10/22/2015 |
2.0.0 | 67,409 | 6/11/2015 |
1.0.8 | 23,033 | 2/2/2015 |
Remember to register NLog.Web in NLog.config
<extensions>
<add assembly="NLog.Web" />
</extensions>
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