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/
No packages 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 | 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 |