1 write to _enableColor
aspire (1)
Utils\ConsoleActivityLogger.cs (1)
53_enableColor = forceColor ?? _hostEnvironment.SupportsAnsi;
11 references to _enableColor
aspire (11)
Utils\ConsoleActivityLogger.cs (11)
200if (_enableColor) 236ActivityState.Success => _enableColor ? "[green]" + SuccessSymbol + "[/]" : SuccessSymbol, 237ActivityState.Warning => _enableColor ? "[yellow]" + WarningSymbol + "[/]" : WarningSymbol, 238ActivityState.Failure => _enableColor ? "[red]" + FailureSymbol + "[/]" : FailureSymbol, 239_ => _enableColor ? "[cyan]" + InProgressSymbol + "[/]" : InProgressSymbol 243? ( _enableColor ? $" [red]— {HighlightMessage(rec.FailureReason!)}[/]" : $" — {rec.FailureReason}" ) 264var helpMessage = _enableColor 285_finalStatusHeader = _enableColor 291_finalStatusHeader = _enableColor 320var coloredSymbol = _enableColor ? ColorizeSymbol(symbol, state) : symbol; 330if (_enableColor)