NLog.Web 5.3.4

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

No packages depend on NLog.Web.

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

.NET Framework 3.5

.NET Framework 4.6

Version Downloads Last updated
5.3.15 0 11/21/2024
5.3.14 2 01/04/2025
5.3.13 0 09/12/2024
5.3.12 0 08/12/2024
5.3.11 3 05/14/2024
5.3.10 1 01/23/2025
5.3.9 2 05/14/2024
5.3.8 3 05/14/2024
5.3.7 3 05/14/2024
5.3.5 2 05/14/2024
5.3.4 2 05/14/2024
5.3.3 1 05/14/2024
5.3.2 2 05/13/2024
5.3.1 2 05/14/2024
5.3.0 1 05/14/2024
5.2.3 1 05/13/2024
5.2.2 2 05/13/2024
5.2.1 1 05/14/2024
5.2.0 1 05/14/2024
5.1.5 1 05/14/2024
5.1.4 2 05/14/2024
5.1.2 2 05/13/2024
5.1.1 2 05/14/2024
5.1.0 3 05/14/2024
5.0.0 1 05/12/2024
4.15.0 1 05/17/2024
4.14.0 1 05/14/2024
4.13.0 2 05/14/2024
4.12.0 2 05/14/2024
4.11.0 2 05/13/2024
4.10.0 3 05/14/2024
4.9.3 1 05/14/2024
4.9.2 1 05/14/2024
4.9.1 2 05/14/2024
4.9.0 2 05/14/2024
4.8.5 1 05/14/2024
4.8.4 1 05/13/2024
4.8.3 2 05/14/2024
4.8.2 2 05/14/2024
4.8.1 1 05/17/2024
4.8.0 2 05/14/2024
4.7.1 1 05/14/2024
4.7.0 2 05/14/2024
4.6.0 1 05/13/2024
4.5.3 3 05/12/2024
4.5.2 2 05/14/2024
4.5.1 3 05/14/2024
4.5.0 1 05/14/2024
4.4.0 2 05/14/2024
4.3.1 2 05/14/2024
4.3.0 1 05/14/2024
4.2.1 1 05/14/2024
4.2.0 1 05/17/2024
4.1.0 3 05/14/2024
4.0.0 1 05/14/2024
2.0.0 2 03/05/2024
1.0.8 3 05/14/2024