ILogger
Represents a type used to perform logging.
            
                
Begins a logical operation scope.
            
Checks if the given logLevel is enabled.
            
void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Writes a log entry.