Microsoft.Extensions.Logging, Part 2: Types

added by DotNetKicks
6/8/2018 2:01:44 PM

1 Kicks, 1608 Views

Yeah, naming is hard. In Microsoft.Extensions.Logging, there are two types in particular that I kept conflating: ILoggerProvider and ILoggerFactory. Even though they both can create instances of ILogger, they are actually completely different! In this post, I'm going to cover the main types of Microsoft.Extensions.Logging and describe their intended use.


0 comments