NLog.Web
5.3.12
Prefix Reserved
See the version list below for details.
dotnet add package NLog.Web --version 5.3.12
NuGet\Install-Package NLog.Web -Version 5.3.12
<PackageReference Include="NLog.Web" Version="5.3.12" />
paket add NLog.Web --version 5.3.12
#r "nuget: NLog.Web, 5.3.12"
// Install NLog.Web as a Cake Addin #addin nuget:?package=NLog.Web&version=5.3.12 // Install NLog.Web as a Cake Tool #tool nuget:?package=NLog.Web&version=5.3.12
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 Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
NuGet packages (13)
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.3.15 | 973 | 11/21/2024 |
5.3.14 | 23,108 | 9/23/2024 |
5.3.13 | 8,613 | 9/12/2024 |
5.3.12 | 16,707 | 8/12/2024 |
5.3.11 | 55,916 | 5/7/2024 |
5.3.10 | 4,915 | 4/30/2024 |
5.3.9 | 1,658 | 4/27/2024 |
5.3.8 | 88,610 | 12/29/2023 |
5.3.7 | 25,592 | 12/6/2023 |
5.3.5 | 43,299 | 10/15/2023 |
5.3.4 | 89,015 | 9/6/2023 |
5.3.3 | 25,187 | 8/6/2023 |
5.3.2 | 245,926 | 7/4/2023 |
5.3.1 | 5,713 | 7/1/2023 |
5.3.0 | 29,935 | 5/30/2023 |
5.2.3 | 87,134 | 3/28/2023 |
5.2.2 | 68,887 | 2/17/2023 |
5.2.1 | 78,911 | 12/30/2022 |
5.2.0 | 116,574 | 11/27/2022 |
5.1.5 | 61,259 | 10/25/2022 |
5.1.4 | 95,864 | 9/1/2022 |
5.1.2 | 4,766 | 9/1/2022 |
5.1.1 | 16,002 | 8/17/2022 |
5.1.0 | 104,801 | 7/18/2022 |
5.0.0 | 104,508 | 5/17/2022 |
4.15.0 | 59,500 | 6/4/2022 |
4.14.0 | 568,861 | 8/28/2021 |
4.13.0 | 130,902 | 7/14/2021 |
4.12.0 | 334,311 | 3/29/2021 |
4.11.0 | 44,440 | 2/27/2021 |
4.10.0 | 101,659 | 12/30/2020 |
4.9.3 | 423,929 | 8/1/2020 |
4.9.2 | 459,417 | 4/20/2020 |
4.9.1 | 73,983 | 3/30/2020 |
4.9.0 | 564,856 | 10/11/2019 |
4.8.5 | 111,945 | 9/7/2019 |
4.8.4 | 181,871 | 7/2/2019 |
4.8.3 | 101,925 | 6/5/2019 |
4.8.2 | 88,781 | 5/4/2019 |
4.8.1 | 231,171 | 3/18/2019 |
4.8.0 | 203,534 | 1/30/2019 |
4.7.1 | 75,969 | 1/6/2019 |
4.7.0 | 512,687 | 9/22/2018 |
4.6.0 | 153,168 | 8/5/2018 |
4.5.3 | 454,305 | 4/12/2018 |
4.5.2 | 84,596 | 3/27/2018 |
4.5.1 | 637,020 | 10/12/2017 |
4.5.0 | 631,636 | 5/14/2017 |
4.4.0 | 271,132 | 2/17/2017 |
4.3.1 | 24,158 | 2/10/2017 |
4.3.0 | 61,145 | 1/18/2017 |
4.2.1 | 661,971 | 5/12/2016 |
4.2.0 | 153,158 | 2/7/2016 |
4.1.0 | 83,500 | 11/26/2015 |
4.0.0 | 113,692 | 10/22/2015 |
2.0.0 | 87,499 | 6/11/2015 |
1.0.8 | 29,459 | 2/2/2015 |
Remember to register NLog.Web in NLog.config
<extensions>
<add assembly="NLog.Web" />
</extensions>
Alternative register NLog.Web from code:
NLog.LogManager.Setup().RegisterNLogWeb()
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