NLog.Web.AspNetCore 5.3.0

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:

  • For ASP.NET Core 6, .NET 6
  • For ASP.NET Core 5, .NET 5
  • For ASP.NET Core 3, .NET Core 3.1
  • For 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ı
2
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
3
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
4
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
5
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
6
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
11
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
14
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
15
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
16
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
20
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
161

ChangeLog: - UseNLog - Replaced dynamic assembly loading with registration methods (#943) (@snakefoot) - Updated to NLog.Extensions.Logging v5.3 (#943) (@snakefoot) - AspNetLayoutRenderers - Items-property is standard, and Names-option is obsolete (#934) (@snakefoot) - aspnet-request-endpoint - EndPoint Routing DisplayName (#936) (@snakefoot) - NLogRequestPostedBodyMiddleware - Check HttpRequest CanHaveBody (#932) (@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
5.3.14 0 09/23/2024
5.3.13 0 09/12/2024
5.3.12 0 08/12/2024
5.3.11 3 05/14/2024
5.3.10 3 05/13/2024
5.3.9 3 05/13/2024
5.3.8 170 03/07/2024
5.3.7 3 05/14/2024
5.3.5 3 05/14/2024
5.3.4 3 05/14/2024
5.3.3 3 05/14/2024
5.3.2 3 05/13/2024
5.3.1 3 05/14/2024
5.3.0 3 05/14/2024
5.2.3 1 05/14/2024
5.2.2 3 05/13/2024
5.2.1 3 05/14/2024
5.2.0 3 05/14/2024
5.1.5 3 05/18/2024
5.1.4 3 05/14/2024
5.1.2 3 05/14/2024
5.1.1 3 05/14/2024
5.1.0 3 05/14/2024
5.0.0 3 05/14/2024
4.15.0 1 05/14/2024
4.14.0 3 05/14/2024
4.13.0 3 05/13/2024
4.13.0-readme-preview 3 05/14/2024
4.12.0 3 05/14/2024
4.11.0 3 05/14/2024
4.10.0 3 05/13/2024
4.9.3 4 05/14/2024
4.9.2 3 05/14/2024
4.9.1 3 05/14/2024
4.9.0 3 05/14/2024
4.8.6 3 05/14/2024
4.8.5 3 05/13/2024
4.8.4 3 05/14/2024
4.8.3 3 05/13/2024
4.8.2 3 05/14/2024
4.8.1 3 05/13/2024
4.8.0 3 05/18/2024
4.7.1 3 05/14/2024
4.7.0 3 05/14/2024
4.6.0 3 05/14/2024
4.5.4 3 05/14/2024
4.5.3 3 05/14/2024
4.5.2 3 05/13/2024
4.5.1 3 05/14/2024
4.5.0 3 05/15/2024
4.4.1 3 05/13/2024
4.4.0 3 05/17/2024
4.3.1 3 05/14/2024
4.3.0 3 05/14/2024
4.2.4 3 05/14/2024
4.2.3 3 05/13/2024