NLog.Web.AspNetCore
4.13.0-readme-preview
Prefix Reserved
See the version list below for details.
dotnet add package NLog.Web.AspNetCore --version 4.13.0-readme-preview
NuGet\Install-Package NLog.Web.AspNetCore -Version 4.13.0-readme-preview
<PackageReference Include="NLog.Web.AspNetCore" Version="4.13.0-readme-preview" />
paket add NLog.Web.AspNetCore --version 4.13.0-readme-preview
#r "nuget: NLog.Web.AspNetCore, 4.13.0-readme-preview"
// Install NLog.Web.AspNetCore as a Cake Addin #addin nuget:?package=NLog.Web.AspNetCore&version=4.13.0-readme-preview&prerelease // Install NLog.Web.AspNetCore as a Cake Tool #tool nuget:?package=NLog.Web.AspNetCore&version=4.13.0-readme-preview&prerelease
NLog.Web.AspNetCore
This package is an extension to NLog.
This package contains targets and layout-renderes specific for ASP.NET Core and with the use of NLog.Extensions.Logging it integrates into the ASP.NET Core logging as described at Microsoft docs.
Getting started with NLog
- Getting started for ASP.NET Core 5
- Getting started for ASP.NET Core 3
- Getting started for ASP.NET Core 2
- Getting started for .NET Core 2 Console application
- Getting started for ASP.NET Core 1 (csproj - vs2017)
- How to use structured logging
Config
- All config options: nlog-project.org/config
Troubleshooting
Releases
For updates and releases, check CHANGELOG.MD or Releases
ASP.NET Core
ASP.NET Core 1, 2, 3 and 5 are supported!
Supported platforms:
- For ASP.NET Core 5, .NET 5
- For ASP.NET Core 3, .NET Core 3.0
- For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+
- For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
ℹ️ Missing the trace and debug logs in .NET Core 2? Check your appsettings.json
Use the NLog.Web.AspNetCore package
There is a special package for ASP.NET Core / MVC Core. This is needed because we can't detect if ASP.NET or ASP.NET Core is used. The package depends on NLog.Extensions.Logging - which integrates with the ASP.NET Core logging system.
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.5 is compatible. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net451 is compatible. net452 was computed. net46 was computed. 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 | tizen30 was computed. 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.0
- NLog.Extensions.Logging (>= 1.7.2)
-
.NETFramework 4.5.1
- Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.2)
- Microsoft.AspNetCore.Http (>= 1.1.2)
- Microsoft.AspNetCore.Routing.Abstractions (>= 1.1.2)
- NLog.Extensions.Logging (>= 1.7.2)
-
.NETFramework 4.6.1
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.1.0)
- Microsoft.AspNetCore.Http (>= 2.1.0)
- Microsoft.AspNetCore.Routing.Abstractions (>= 2.1.0)
- NLog.Extensions.Logging (>= 1.7.2)
-
.NETStandard 1.5
- Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.2)
- Microsoft.AspNetCore.Http (>= 1.1.2)
- Microsoft.AspNetCore.Routing.Abstractions (>= 1.1.2)
- NETStandard.Library (>= 1.6.1)
- NLog.Extensions.Logging (>= 1.7.2)
-
.NETStandard 2.0
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.1.0)
- Microsoft.AspNetCore.Http (>= 2.1.0)
- Microsoft.AspNetCore.Routing.Abstractions (>= 2.1.0)
- NLog.Extensions.Logging (>= 1.7.2)
NuGet packages (420)
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. |
|
Flynk.Net.Services
Package Description |
|
atisu.services.common
Package Description |
GitHub repositories (65)
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.
|
|
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
|
Version | Downloads | Last updated |
---|---|---|
5.3.14 | 779,565 | 9/23/2024 |
5.3.13 | 192,597 | 9/12/2024 |
5.3.12 | 746,678 | 8/12/2024 |
5.3.11 | 2,304,240 | 5/7/2024 |
5.3.10 | 154,575 | 4/30/2024 |
5.3.9 | 63,733 | 4/27/2024 |
5.3.8 | 3,874,933 | 12/29/2023 |
5.3.7 | 560,063 | 12/6/2023 |
5.3.5 | 1,920,577 | 10/15/2023 |
5.3.4 | 1,146,941 | 9/6/2023 |
5.3.3 | 881,126 | 8/6/2023 |
5.3.2 | 1,518,131 | 7/4/2023 |
5.3.1 | 63,879 | 7/1/2023 |
5.3.0 | 1,490,109 | 5/30/2023 |
5.2.3 | 2,558,586 | 3/28/2023 |
5.2.2 | 1,811,495 | 2/17/2023 |
5.2.1 | 2,365,219 | 12/30/2022 |
5.2.0 | 1,447,620 | 11/27/2022 |
5.1.5 | 2,193,195 | 10/25/2022 |
5.1.4 | 2,330,676 | 9/1/2022 |
5.1.2 | 90,635 | 9/1/2022 |
5.1.1 | 514,341 | 8/17/2022 |
5.1.0 | 1,313,097 | 7/18/2022 |
5.0.0 | 3,424,003 | 5/17/2022 |
4.15.0 | 1,081,699 | 6/4/2022 |
4.14.0 | 12,184,436 | 8/28/2021 |
4.13.0 | 2,144,383 | 7/14/2021 |
4.13.0-readme-preview | 40,921 | 5/3/2021 |
4.12.0 | 5,200,455 | 3/29/2021 |
4.11.0 | 1,541,286 | 2/27/2021 |
4.10.0 | 2,528,921 | 12/30/2020 |
4.9.3 | 6,513,689 | 8/1/2020 |
4.9.2 | 5,684,030 | 4/20/2020 |
4.9.1 | 1,204,313 | 3/30/2020 |
4.9.0 | 8,143,924 | 10/11/2019 |
4.8.6 | 423,420 | 9/30/2019 |
4.8.5 | 1,147,717 | 9/7/2019 |
4.8.4 | 1,760,201 | 7/2/2019 |
4.8.3 | 704,302 | 6/5/2019 |
4.8.2 | 1,203,429 | 5/6/2019 |
4.8.1 | 1,606,582 | 3/18/2019 |
4.8.0 | 2,068,384 | 1/25/2019 |
4.7.1 | 564,026 | 1/6/2019 |
4.7.0 | 2,285,315 | 9/22/2018 |
4.6.0 | 901,063 | 8/5/2018 |
4.5.4 | 2,481,775 | 5/10/2018 |
4.5.3 | 136,470 | 4/29/2018 |
4.5.2 | 322,736 | 4/12/2018 |
4.5.1 | 202,772 | 4/2/2018 |
4.5.0 | 95,767 | 3/27/2018 |
4.4.1 | 1,075,271 | 6/16/2017 |
4.4.0 | 90,450 | 5/14/2017 |
4.3.1 | 229,192 | 2/10/2017 |
4.3.0 | 39,769 | 1/18/2017 |
4.2.4 | 19,574 | 7/3/2016 |
4.2.3 | 101,130 | 5/24/2016 |
Demo for package readme on NuGet.org, see https://docs.microsoft.com/en-us/nuget/nuget-org/package-readme-on-nuget-org
and https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#packagereadmefile
See also https://github.com/NLog/NLog.Web/releases