NLog.Web.AspNetCore
5.2.2
Prefix Reserved
See the version list below for details.
dotnet add package NLog.Web.AspNetCore --version 5.2.2
NuGet\Install-Package NLog.Web.AspNetCore -Version 5.2.2
<PackageReference Include="NLog.Web.AspNetCore" Version="5.2.2" />
paket add NLog.Web.AspNetCore --version 5.2.2
#r "nuget: NLog.Web.AspNetCore, 5.2.2"
// Install NLog.Web.AspNetCore as a Cake Addin
#addin nuget:?package=NLog.Web.AspNetCore&version=5.2.2
// Install NLog.Web.AspNetCore as a Cake Tool
#tool nuget:?package=NLog.Web.AspNetCore&version=5.2.2
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- NLog.Extensions.Logging (>= 5.2.2)
-
.NETFramework 4.6.1
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.1.1)
- Microsoft.AspNetCore.Http (>= 2.1.22)
- Microsoft.AspNetCore.Routing.Abstractions (>= 2.1.1)
- NLog.Extensions.Logging (>= 5.2.2)
- System.Text.Encodings.Web (>= 4.5.1)
-
.NETStandard 2.0
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.1.1)
- Microsoft.AspNetCore.Http (>= 2.1.22)
- Microsoft.AspNetCore.Routing.Abstractions (>= 2.1.1)
- NLog.Extensions.Logging (>= 5.2.2)
- System.Text.Encodings.Web (>= 4.5.1)
-
net5.0
- NLog.Extensions.Logging (>= 5.2.2)
-
net6.0
- NLog.Extensions.Logging (>= 5.2.2)
NuGet packages (400)
Showing the top 5 NuGet packages that depend on NLog.Web.AspNetCore:
Package | Downloads |
---|---|
Coder.Extension
Coder扩展程序,包含:AutoMapper,Log,CsRedis,Swagger(Knife4j),Cors,Autofac,Hangfire,TimedJob,CAP,SqlSugar,Polly(超时,重试,熔断,降级)等扩展服务和中间件。 |
|
Ccf.Ck.Libs.Logging
Extends the default nlog library with static methods for logging and default visualization of the logged entries |
|
OrchardCore.Logging.NLog
Orchard Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Provides NLog logging for application. |
|
SamApiFullLib
This packages provides a built-in website builder and editor and direct integration with the Thinkka Sales and Management package "S.A.M." |
|
Flynk.Net.Services
Package Description |
GitHub repositories (60)
Showing the top 5 popular GitHub repositories that depend on NLog.Web.AspNetCore:
Repository | Stars |
---|---|
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
|
|
Jackett/Jackett
API Support for your favorite torrent trackers
|
|
JustArchiNET/ArchiSteamFarm
C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
|
|
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
|
|
Flow-Launcher/Flow.Launcher
:mag: Quick file search & app launcher for Windows with community-made plugins
|
Version | Downloads | Last updated |
---|---|---|
5.3.8 | 1,460,751 | 12/29/2023 |
5.3.7 | 317,379 | 12/6/2023 |
5.3.5 | 1,119,583 | 10/15/2023 |
5.3.4 | 796,889 | 9/6/2023 |
5.3.3 | 653,440 | 8/6/2023 |
5.3.2 | 1,183,262 | 7/4/2023 |
5.3.1 | 55,815 | 7/1/2023 |
5.3.0 | 1,034,227 | 5/30/2023 |
5.2.3 | 1,929,908 | 3/28/2023 |
5.2.2 | 1,392,791 | 2/17/2023 |
5.2.1 | 1,935,107 | 12/30/2022 |
5.2.0 | 1,180,966 | 11/27/2022 |
5.1.5 | 1,722,347 | 10/25/2022 |
5.1.4 | 1,980,255 | 9/1/2022 |
5.1.2 | 75,499 | 9/1/2022 |
5.1.1 | 444,502 | 8/17/2022 |
5.1.0 | 1,124,656 | 7/18/2022 |
5.0.0 | 2,721,302 | 5/17/2022 |
4.15.0 | 754,115 | 6/4/2022 |
4.14.0 | 10,578,712 | 8/28/2021 |
4.13.0 | 1,897,920 | 7/14/2021 |
4.13.0-readme-preview | 39,056 | 5/3/2021 |
4.12.0 | 4,856,089 | 3/29/2021 |
4.11.0 | 1,451,902 | 2/27/2021 |
4.10.0 | 2,382,213 | 12/30/2020 |
4.9.3 | 6,078,555 | 8/1/2020 |
4.9.2 | 5,359,635 | 4/20/2020 |
4.9.1 | 1,145,303 | 3/30/2020 |
4.9.0 | 7,796,132 | 10/11/2019 |
4.8.6 | 397,248 | 9/30/2019 |
4.8.5 | 1,069,442 | 9/7/2019 |
4.8.4 | 1,705,407 | 7/2/2019 |
4.8.3 | 687,714 | 6/5/2019 |
4.8.2 | 1,129,099 | 5/6/2019 |
4.8.1 | 1,548,159 | 3/18/2019 |
4.8.0 | 1,949,987 | 1/25/2019 |
4.7.1 | 486,209 | 1/6/2019 |
4.7.0 | 2,217,376 | 9/22/2018 |
4.6.0 | 881,221 | 8/5/2018 |
4.5.4 | 2,334,473 | 5/10/2018 |
4.5.3 | 131,726 | 4/29/2018 |
4.5.2 | 307,270 | 4/12/2018 |
4.5.1 | 198,454 | 4/2/2018 |
4.5.0 | 90,392 | 3/27/2018 |
4.4.1 | 1,050,464 | 6/16/2017 |
4.4.0 | 85,498 | 5/14/2017 |
4.3.1 | 226,565 | 2/10/2017 |
4.3.0 | 39,595 | 1/18/2017 |
4.2.4 | 19,387 | 7/3/2016 |
4.2.3 | 71,802 | 5/24/2016 |
ChangeLog:
- AspNetQueryStringLayoutRenderer - Added Exclude-option for consistency (#917) (@snakefoot)
- AspNetRequestFormLayoutRenderer - Added Items-option for consistency (#918) (@snakefoot)
- AspNet Response HttpStatusCode LayoutRenderer as Enum.ToString (#921) (@bakgerman)
- AspNet Request-Ip with support for CheckForwardedForHeaderOffset (#923) (@bakgerman)
- AspNetBufferingTargetWrapper - BufferGrowLimit cealing BufferSize (#924) (@snakefoot)
- Updated dependency NLog.Extensions.Logging v5.2.2 (#927) (@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