How to Use LoggerFactory and Microsoft.Extensions.Logging for .NET Core Logging With C#
Do you use.NET (formerly.NET Core)? If so, you’re probably familiar with the built-in.NET Core LoggerFactory which is in Microsoft.Extensions.Logging. Back when it was introduced, it created a lot of confusion around logging with ASP.NET Core. Several years latter, the dust has settled down, and.NET logging has become somewhat “boring”, which means predictable and consistent. In this post, we’ll offer you a guide on.NET logging.