We will start this chapter by providing an overview of the different logging components of ASP.NET Core. The framework provides different interfaces that support logging:
- ILoggerProvider is used to define a specific type of logging bind with an output channel
- ILoggerFactory takes an ILoggerProvider interface and initializes it
- The ILogger interface is a particular instance of the logging component
The logging interface structure of ASP.NET Core can be described using the following schema:
![](/api/v2/epubs/9781789537611/files/assets/86e0d6bc-3ac4-474f-bda7-eb95785ea19f.png)
In short, the ILoggerProvider interface represents the output of the logs, ILoggerFactory creates the right type of instance, and ...