Microsoft.Extensions.Logging.Log4Net.AspNetCore
8.0.0
dotnet add package Microsoft.Extensions.Logging.Log4Net.AspNetCore --version 8.0.0
NuGet\Install-Package Microsoft.Extensions.Logging.Log4Net.AspNetCore -Version 8.0.0
<PackageReference Include="Microsoft.Extensions.Logging.Log4Net.AspNetCore" Version="8.0.0" />
paket add Microsoft.Extensions.Logging.Log4Net.AspNetCore --version 8.0.0
#r "nuget: Microsoft.Extensions.Logging.Log4Net.AspNetCore, 8.0.0"
// Install Microsoft.Extensions.Logging.Log4Net.AspNetCore as a Cake Addin #addin nuget:?package=Microsoft.Extensions.Logging.Log4Net.AspNetCore&version=8.0.0 // Install Microsoft.Extensions.Logging.Log4Net.AspNetCore as a Cake Tool #tool nuget:?package=Microsoft.Extensions.Logging.Log4Net.AspNetCore&version=8.0.0
Allows to configure Log4net as Microsoft Extensions Logging handler on any ASP.NET Core application.
Original code proposal by @anuraj --> https://dotnetthoughts.net/how-to-use-log4net-with-aspnetcore-for-logging/
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 is compatible. 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 is compatible. 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 is compatible. |
.NET Framework | net461 was computed. 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
- log4net (>= 2.0.15)
- Microsoft.Extensions.Configuration (>= 3.1.18)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.18)
- Microsoft.Extensions.Configuration.Binder (>= 3.1.18)
- Microsoft.Extensions.Logging (>= 3.1.18)
-
.NETStandard 2.0
- log4net (>= 2.0.15)
- Microsoft.Extensions.Configuration (>= 2.2.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Configuration.Binder (>= 2.2.4)
- Microsoft.Extensions.Logging (>= 2.2.0)
-
.NETStandard 2.1
- log4net (>= 2.0.15)
- Microsoft.Extensions.Configuration (>= 3.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 3.0.0)
- Microsoft.Extensions.Logging (>= 3.0.0)
-
net5.0
- log4net (>= 2.0.15)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 5.0.0)
-
net6.0
- log4net (>= 2.0.15)
- Microsoft.Extensions.Configuration (>= 6.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 6.0.0)
-
net7.0
- log4net (>= 2.0.15)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.4)
- Microsoft.Extensions.Logging (>= 7.0.0)
-
net8.0
- log4net (>= 2.0.15)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
NuGet packages (107)
Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Logging.Log4Net.AspNetCore:
Package | Downloads |
---|---|
NanoCore
The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar. |
|
Dywham.Commons.Messaging.NServiceBus
Package Description |
|
Log4ALA
Log4Net appender for Azure Log Analytics (ALA)... sending data to Azure Log Analytics with the HTTP Data Collector API. The data will also be logged/sent asynchronously for high performance and to avoid blocking the caller thread. |
|
NetEnhancements.Shared
Shared concepts between applications, such as logging and configuration. |
|
Bnsights.Core
Package Description |
GitHub repositories (14)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.Logging.Log4Net.AspNetCore:
Repository | Stars |
---|---|
anjoy8/Blog.Core
💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
|
|
AElfProject/AElf
An AI-enhanced cloud-native layer-1 blockchain network.
|
|
lampo1024/DncZeus
DncZeus 是一个基于.NET 7 + Vue.js(iview-admin) 的前后端分离的通用后台权限(页面访问、操作按钮控制)管理系统框架。后端使用.NET 7 + EF Core构建,UI则是目前流行的基于Vue.js的iView(iview-admin)。项目实现了前后端的动态权限管理和控制以及基于JWT的用户令牌认证机制,让前后端的交互更流畅。码云镜像:https://gitee.com/rector/DncZeus 。演示地址(demo):
|
|
Nihlus/Launchpad
An open-source game launcher for your games
|
|
migomiddle/xms
基于.netcore的跨平台应用框架,包含众多常用模块,易上手、易扩展,xms可理解为x(可扩展的/任意的)m(管理)s(系统)
|
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 2,036,858 | 12/7/2023 |
7.0.0 | 513,412 | 10/16/2023 |
6.1.0 | 9,775,784 | 1/24/2022 |
6.0.0 | 785,450 | 11/10/2021 |
5.0.4 | 819,418 | 9/8/2021 |
5.0.3 | 873,201 | 6/15/2021 |
5.0.1 | 1,174,457 | 3/23/2021 |
5.0.0 | 1,240,542 | 11/15/2020 |
3.1.5 | 1,058,663 | 10/20/2020 |
3.1.3 | 307,113 | 9/21/2020 |
3.1.0 | 3,229,565 | 2/26/2020 |
3.0.3 | 1,162,000 | 11/12/2019 |
3.0.0 | 305,840 | 9/26/2019 |
2.2.12 | 515,867 | 8/21/2019 |
2.2.11 | 592,989 | 5/10/2019 |
2.2.10 | 805,267 | 1/14/2019 |
2.2.9 | 21,179 | 1/7/2019 |
2.2.8 | 13,874 | 1/2/2019 |
2.2.6 | 358,494 | 10/22/2018 |
2.2.5 | 177,517 | 9/6/2018 |
2.2.4 | 198,943 | 7/11/2018 |
2.2.3 | 151,575 | 7/3/2018 |
2.2.1 | 40,887 | 6/26/2018 |
2.2.0 | 167,954 | 6/20/2018 |
2.1.0 | 453,501 | 4/17/2018 |
2.0.3 | 322,576 | 3/2/2018 |
2.0.2 | 6,235 | 2/27/2018 |
2.0.1 | 19,797 | 1/8/2018 |
2.0.0 | 18,799 | 1/2/2018 |
1.1.0 | 15,334 | 11/2/2017 |
1.0.1 | 6,639 | 9/21/2017 |
1.0.0 | 12,755 | 7/12/2017 |
#133 - Compatible with .NET 8.0