1 write to _enableColor
aspire (1)
Utils\ConsoleActivityLogger.cs (1)
54_enableColor = forceColor ?? _hostEnvironment.SupportsAnsi;
11 references to _enableColor
aspire (11)
Utils\ConsoleActivityLogger.cs (11)
213if (_enableColor) 250ActivityState.Success => _enableColor ? "[green]" + SuccessSymbol + "[/]" : SuccessSymbol, 251ActivityState.Warning => _enableColor ? "[yellow]" + WarningSymbol + "[/]" : WarningSymbol, 252ActivityState.Failure => _enableColor ? "[red]" + FailureSymbol + "[/]" : FailureSymbol, 253_ => _enableColor ? "[cyan]" + InProgressSymbol + "[/]" : InProgressSymbol 257? ( _enableColor ? $" [red]— {HighlightMessage(rec.FailureReason!)}[/]" : $" — {rec.FailureReason}" ) 278var helpMessage = _enableColor 299_finalStatusHeader = _enableColor 305_finalStatusHeader = _enableColor 334var coloredSymbol = _enableColor ? ColorizeSymbol(symbol, state) : symbol; 344if (_enableColor)