8 instantiations of ConsoleColors
Microsoft.Extensions.Logging.Console (8)
SimpleConsoleFormatter.cs (8)
185return new ConsoleColors(null, null); 191LogLevel.Trace => new ConsoleColors(ConsoleColor.Gray, ConsoleColor.Black), 192LogLevel.Debug => new ConsoleColors(ConsoleColor.Gray, ConsoleColor.Black), 193LogLevel.Information => new ConsoleColors(ConsoleColor.DarkGreen, ConsoleColor.Black), 194LogLevel.Warning => new ConsoleColors(ConsoleColor.Yellow, ConsoleColor.Black), 195LogLevel.Error => new ConsoleColors(ConsoleColor.Black, ConsoleColor.DarkRed), 196LogLevel.Critical => new ConsoleColors(ConsoleColor.White, ConsoleColor.DarkRed), 197_ => new ConsoleColors(null, null)
2 references to ConsoleColors
Microsoft.Extensions.Logging.Console (2)
SimpleConsoleFormatter.cs (2)
71ConsoleColors logLevelColors = GetLogLevelConsoleColors(logLevel); 177private ConsoleColors GetLogLevelConsoleColors(LogLevel logLevel)