Skip to content
NLogPublic

Repository files navigation

NLog

NLog.Web (ASP.NET & ASP.NET Core)

Nuget-package Description Supported Platforms
NuGet Release ASP.NET Core applications for new .NET platforms .NET 8, 9, 10 and 11
NuGet Release Classic ASP.NET MVC applications for .NET Framework .NET Framework 3.5 - 4.8

CI codecov

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

Package README

The NLog.Web.AspNetCore-package works with the new ASP.NET Core platforms .NET 8, 9, 10 and 11

ASP.NET Classic

Package README

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