NLog.Web.AspNetCore 5.3.15

NLog.Web.AspNetCore

Integrates NLog as Logging provider for the ASP.NET Core platform, by just calling UseNLog() with the application host-builder.

Providing features like:

  • Enrich logging output with additional details from active HttpContext using NLog LayoutRenderers, by just updating the NLog configuration.
  • Supports middleware injection for HTTP Request Logging and HTTP Response 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:

  • ASP.NET Core 5, 6, 7 and 8
  • ASP.NET Core 3.1
  • ASP.NET Core 2, .NET Standard 2.0 and .NET 4.6.1+

Registration of NLog.Web.AspNetCore in the NLog.config file:

<extensions>
    <add assembly="NLog.Web.AspNetCore"/>
</extensions>

Registration of NLog.Web.AspNetCore can also be performed with fluent setup:

NLog.LogManager.Setup().LoadConfigurationFromAppSettings();

Useful Links:

Showing the top 20 packages that depend on NLog.Web.AspNetCore.

Packages Downloads
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
19
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
21
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
22
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
23
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
24
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
25
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
26
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
28
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
33
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
36
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
41
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
62
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
392

ChangeLog: - UseNLog Allow fallback to only EnvironmentName for NLog config (#1066) (@snakefoot) - Updated dependency NLog.Extensions.Logging v5.3.15 (#1067) (@snakefoot) List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html 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.aspnetcore

Version Downloads Last updated
6.1.2 4 03/02/2026
6.1.1 6 02/07/2026
6.1.0 10 11/15/2025
6.0.6 9 11/15/2025
6.0.5 8 10/14/2025
6.0.4 12 09/16/2025
6.0.3 14 08/14/2025
6.0.2 14 08/04/2025
6.0.1 15 07/03/2025
6.0.0 16 06/27/2025
6.0.0-rc4 15 06/27/2025
6.0.0-rc3 15 06/27/2025
6.0.0-rc2 11 06/07/2025
5.5.0 19 06/07/2025
5.4.0 22 02/18/2025
5.3.15 14 01/18/2025
5.3.14 15 12/06/2024
5.3.13 14 02/18/2025
5.3.12 15 02/15/2025
5.3.11 18 05/14/2024
5.3.10 17 05/13/2024
5.3.9 25 05/13/2024
5.3.8 359 03/07/2024
5.3.7 19 05/14/2024
5.3.5 22 05/14/2024
5.3.4 20 05/14/2024
5.3.3 25 05/14/2024
5.3.2 20 05/13/2024
5.3.1 19 05/14/2024
5.3.0 19 05/14/2024
5.2.3 19 05/14/2024
5.2.2 19 05/13/2024
5.2.1 20 05/14/2024
5.2.0 21 05/14/2024
5.1.5 22 05/18/2024
5.1.4 22 05/14/2024
5.1.2 20 05/14/2024
5.1.1 21 05/14/2024
5.1.0 20 05/14/2024
5.0.0 25 05/14/2024
4.15.0 16 05/14/2024
4.14.0 17 05/14/2024
4.13.0 20 05/13/2024
4.13.0-readme-preview 22 05/14/2024
4.12.0 19 05/14/2024
4.11.0 22 05/14/2024
4.10.0 17 05/13/2024
4.9.3 21 05/14/2024
4.9.2 21 05/14/2024
4.9.1 20 05/14/2024
4.9.0 20 05/14/2024
4.8.6 20 05/14/2024
4.8.5 21 05/13/2024
4.8.4 18 05/14/2024
4.8.3 26 05/13/2024
4.8.2 18 05/14/2024
4.8.1 18 05/13/2024
4.8.0 25 05/18/2024
4.7.1 24 05/14/2024
4.7.0 25 05/14/2024
4.6.0 23 05/14/2024
4.5.4 22 05/14/2024
4.5.3 21 05/14/2024
4.5.2 22 05/13/2024
4.5.1 24 05/14/2024
4.5.0 21 05/15/2024
4.4.1 18 05/13/2024
4.4.0 18 05/17/2024
4.3.1 20 05/14/2024
4.3.0 21 05/14/2024
4.2.4 20 05/14/2024
4.2.3 20 05/13/2024