1 write to _enableColor
aspire (1)
Utils\ConsoleActivityLogger.cs (1)
58
_enableColor
= forceColor ?? _hostEnvironment.SupportsAnsi;
12 references to _enableColor
aspire (12)
Utils\ConsoleActivityLogger.cs (12)
217
if (
_enableColor
)
254
ActivityState.Success =>
_enableColor
? "[green]" + SuccessSymbol + "[/]" : SuccessSymbol,
255
ActivityState.Warning =>
_enableColor
? "[yellow]" + WarningSymbol + "[/]" : WarningSymbol,
256
ActivityState.Failure =>
_enableColor
? "[red]" + FailureSymbol + "[/]" : FailureSymbol,
257
_ =>
_enableColor
? "[cyan]" + InProgressSymbol + "[/]" : InProgressSymbol
261
? (
_enableColor
? $" [red]— {HighlightMessage(rec.FailureReason!.EscapeMarkup())}[/]" : $" — {rec.FailureReason!.EscapeMarkup()}" )
295
var helpMessage =
_enableColor
312
if (
_enableColor
)
344
_finalStatusHeader =
_enableColor
350
_finalStatusHeader =
_enableColor
379
var coloredSymbol =
_enableColor
? ColorizeSymbol(symbol, state) : symbol;
389
if (
_enableColor
)