Microsoft.Extensions.Logging.Log4Net.AspNetCore 2.2.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/
Showing the top 20 packages that depend on Microsoft.Extensions.Logging.Log4Net.AspNetCore.
Fixed bugs:
- #24 - Support for configuration watching
Now, you are able to configure Log4Net to be on watch mode over the log4net.config file.
- #25 - Allow to create logger with type name
The library now allows you to create a named logger within CreateLogger>T<, that automatically takes your type FullName and configures the logger with that name.
- #28 - Configure log4net outside the log4net.config
@kastwey implemented a way, using XPath routes, to be able to configure the log4net.config file through appsettings or environment variables in .NET Core.
- #32 - The AddLog4Net() method does not take log4net.config filename automatically
Fixed bug.
Special thanks to Toni Wenzel (@kastwey) by its contributions
.NET Core 1.1
- Microsoft.Extensions.Configuration (>= 1.1.2)
- log4net (>= 2.0.8)
- System.Xml.XPath.XDocument (>= 4.3.0)
- Microsoft.NETCore.App (>= 1.1.2)
- Microsoft.Extensions.Logging (>= 1.1.2)
- Microsoft.Extensions.Configuration.Binder (>= 1.1.2)
.NET Standard 2.0
- log4net (>= 2.0.8)
- System.Xml.XPath.XDocument (>= 4.3.0)
- Microsoft.Extensions.Logging (>= 2.1.1)
- Microsoft.Extensions.Configuration (>= 2.1.1)
.NET Core 2.0
- log4net (>= 2.0.8)
- System.Xml.XPath.XDocument (>= 4.3.0)
- Microsoft.Extensions.Configuration (>= 2.1.1)
- Microsoft.Extensions.Logging (>= 2.1.1)
.NET Framework 4.6.2
- log4net (>= 2.0.8)
- Microsoft.Extensions.Logging (>= 2.1.1)
- Microsoft.Extensions.Configuration (>= 2.1.1)
- System.Xml.XPath.XDocument (>= 4.3.0)
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 10 | 04/21/2024 |
7.0.0 | 5 | 05/02/2024 |
6.0.0 | 13 | 06/13/2022 |
5.0.4 | 5 | 05/05/2024 |
5.0.3 | 5 | 06/13/2022 |
5.0.1 | 2 | 05/02/2024 |
3.0.3 | 11 | 06/13/2022 |
2.2.4 | 4 | 05/14/2024 |
2.2.0 | 3 | 05/19/2024 |
2.1.0 | 12 | 06/13/2022 |
2.0.3 | 14 | 06/13/2022 |
2.0.1 | 6 | 06/13/2022 |
2.0.0 | 5 | 06/13/2022 |
1.1.0 | 8 | 06/13/2022 |
1.0.0 | 7 | 06/13/2022 |