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 (108)
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. |
|
NetEnhancements.Shared
Shared concepts between applications, such as logging and configuration. |
|
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. |
|
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,448,300 | 12/7/2023 |
7.0.0 | 536,998 | 10/16/2023 |
6.1.0 | 10,401,404 | 1/24/2022 |
6.0.0 | 800,014 | 11/10/2021 |
5.0.4 | 829,832 | 9/8/2021 |
5.0.3 | 884,960 | 6/15/2021 |
5.0.1 | 1,185,011 | 3/23/2021 |
5.0.0 | 1,249,846 | 11/15/2020 |
3.1.5 | 1,075,801 | 10/20/2020 |
3.1.3 | 310,838 | 9/21/2020 |
3.1.0 | 3,264,866 | 2/26/2020 |
3.0.3 | 1,171,303 | 11/12/2019 |
3.0.0 | 311,081 | 9/26/2019 |
2.2.12 | 520,799 | 8/21/2019 |
2.2.11 | 597,416 | 5/10/2019 |
2.2.10 | 812,146 | 1/14/2019 |
2.2.9 | 21,468 | 1/7/2019 |
2.2.8 | 14,110 | 1/2/2019 |
2.2.6 | 360,737 | 10/22/2018 |
2.2.5 | 178,271 | 9/6/2018 |
2.2.4 | 200,511 | 7/11/2018 |
2.2.3 | 151,970 | 7/3/2018 |
2.2.1 | 41,465 | 6/26/2018 |
2.2.0 | 171,988 | 6/20/2018 |
2.1.0 | 456,968 | 4/17/2018 |
2.0.3 | 325,158 | 3/2/2018 |
2.0.2 | 6,445 | 2/27/2018 |
2.0.1 | 20,033 | 1/8/2018 |
2.0.0 | 18,857 | 1/2/2018 |
1.1.0 | 15,359 | 11/2/2017 |
1.0.1 | 6,700 | 9/21/2017 |
1.0.0 | 12,993 | 7/12/2017 |
#133 - Compatible with .NET 8.0