Microsoft.Extensions.Logging.Log4Net.AspNetCore 2.1.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:
- #15 - Invalid exception logging
Now, the exception formatter has been removed, and included the exception to be considered by Log4Net Exception pattern layout.
- #16 - ArgumentNullException when running with TestHost
@twenzel have implemented the required change to get the executing assembly from the startup class.
- #20 - Not compatible with new WebHostBuilder pattern
@twenzel have implemented the required change to adapt the logging extensions to the new recommended logging configuration by Microsoft (ref: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?tabs=aspnetcore2x#how-to-add-providers).
Special thanks to Toni Wenzel (@twenzel) by its contributions
.NET Core 1.1
- Microsoft.Extensions.Logging (>= 1.1.2)
- Microsoft.NETCore.App (>= 1.1.2)
- log4net (>= 2.0.8)
.NET Framework 4.6.2
- Microsoft.Extensions.Logging (>= 2.0.1)
- log4net (>= 2.0.8)
.NET Core 2.0
- Microsoft.Extensions.Logging (>= 2.0.1)
- log4net (>= 2.0.8)
.NET Standard 2.0
- Microsoft.Extensions.Logging (>= 2.0.1)
- log4net (>= 2.0.8)
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 11 | 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 |