Info
Version: | 8.0.0 |
Author(s): | Huor Swords |
Last Update: | Thursday, December 7, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/huorswords/Microsoft.Extensions.Logging.Log4Net.AspNetCore |
NuGet Url: | https://www.nuget.org/packages/Microsoft.Extensions.Logging.Log4Net.AspNetCore |
Install
Install-Package Microsoft.Extensions.Logging.Log4Net.AspNetCore
dotnet add package Microsoft.Extensions.Logging.Log4Net.AspNetCore
paket add Microsoft.Extensions.Logging.Log4Net.AspNetCore
Microsoft.Extensions.Logging.Log4Net.AspNetCore Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- 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)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- 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)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- Microsoft.Extensions.Configuration(>= 1.1.2)
- Microsoft.Extensions.Configuration.Abstractions(>= 1.1.2)
- Microsoft.Extensions.Configuration.Binder(>= 1.1.2)
- Microsoft.Extensions.Logging(>= 1.1.2)
- Microsoft.NETCore.App(>= 1.1.2)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- Microsoft.Extensions.Configuration(>= 2.0.2)
- Microsoft.Extensions.Configuration.Abstractions(>= 2.0.2)
- Microsoft.Extensions.Configuration.Binder(>= 2.0.2)
- Microsoft.Extensions.Logging(>= 2.0.2)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- Microsoft.Extensions.Configuration(>= 2.1.1)
- Microsoft.Extensions.Configuration.Abstractions(>= 2.1.1)
- Microsoft.Extensions.Configuration.Binder(>= 2.1.10)
- Microsoft.Extensions.Logging(>= 2.1.1)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- 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)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- 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)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- Microsoft.Extensions.Configuration(>= 3.1.10)
- Microsoft.Extensions.Configuration.Abstractions(>= 3.1.10)
- Microsoft.Extensions.Configuration.Binder(>= 3.1.10)
- Microsoft.Extensions.Logging(>= 3.1.10)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
- 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)
- System.Xml.XPath.XDocument(>= 4.3.0)
- log4net(>= 2.0.12)
Tags
Original code proposal by @anuraj --> https://dotnetthoughts.net/how-to-use-log4net-with-aspnetcore-for-logging/.