2 writes to ColorBehavior
Microsoft.CodeAnalysis.LanguageServer (1)
Program.cs (1)
57
builder.AddSimpleConsole(formatterOptions => formatterOptions.
ColorBehavior
= LoggerColorBehavior.Disabled);
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerProvider.cs (1)
184
ColorBehavior
= deprecatedFromOptions.DisableColors ? LoggerColorBehavior.Disabled : LoggerColorBehavior.Default,
3 references to ColorBehavior
Microsoft.Arcade.Common (1)
CompactConsoleLoggerFormatter.cs (1)
117
if (_options.
ColorBehavior
== LoggerColorBehavior.Disabled)
Microsoft.Extensions.Logging.Console (2)
SimpleConsoleFormatter.cs (2)
181
bool disableColors = (FormatterOptions.
ColorBehavior
== LoggerColorBehavior.Disabled) ||
182
(FormatterOptions.
ColorBehavior
== LoggerColorBehavior.Default && (!ConsoleUtils.EmitAnsiColorCodes || IsAndroidOrAppleMobile));