Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove usage of Microsoft.Extensions.Logging #1504
Npgsql 3.2 switched to using Microsoft.Extensions.Logging. Since that package depends on netstandard, when used in projects targeting .NET Framework a lot of useless type-forwarding nugets are installed. Besides being annoying, this created some issues (such as this one).
After receiving many complaints, thinking about this and also considering LibLog as an alternative, Npgsql 3.2.2 will simply be rolling back to 3.1's custom logging implementation. While LibLog is the right approach, the library isn't quite in a place where it can be used right away (no netstandard support although in progress, some performance issues).
Bottom line, there simply isn't enough value in Microsoft.Extensions.Logging (or other solutions) over 3.1's custom logging approach. We can reevaluate for 3.3 based on user feedback.