Microsoft.Extensions.Logging.Console.ConsoleLogger
A logger that writes messages in the console.
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)