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)