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/
No packages 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 | 26 | 12/28/2023 |
7.0.0 | 26 | 10/24/2023 |
6.1.0 | 34 | 11/03/2022 |
6.0.0 | 24 | 08/26/2023 |
5.0.4 | 26 | 08/27/2023 |
5.0.3 | 28 | 08/24/2023 |
5.0.1 | 27 | 08/24/2023 |
5.0.0 | 24 | 08/24/2023 |
3.1.5 | 30 | 09/26/2023 |
3.1.3 | 28 | 08/26/2023 |
3.1.0 | 32 | 08/25/2023 |
3.0.3 | 27 | 08/26/2023 |
3.0.0 | 23 | 08/23/2023 |
2.2.12 | 27 | 08/24/2023 |
2.2.11 | 24 | 08/25/2023 |
2.2.10 | 26 | 08/25/2023 |
2.2.9 | 26 | 08/27/2023 |
2.2.8 | 29 | 08/25/2023 |
2.2.6 | 30 | 08/25/2023 |
2.2.5 | 24 | 08/25/2023 |
2.2.4 | 24 | 08/24/2023 |
2.2.3 | 27 | 08/23/2023 |
2.2.1 | 27 | 08/25/2023 |
2.2.0 | 26 | 08/26/2023 |
2.1.0 | 26 | 08/25/2023 |
2.0.3 | 27 | 08/24/2023 |
2.0.2 | 25 | 08/25/2023 |
2.0.1 | 24 | 08/27/2023 |
2.0.0 | 28 | 09/27/2023 |
1.1.0 | 24 | 08/25/2023 |
1.0.1 | 26 | 08/24/2023 |
1.0.0 | 21 | 08/25/2023 |