1 write to _enableColor
aspire (1)
Utils\ConsoleActivityLogger.cs (1)
49
_enableColor
= forceColor ?? _hostEnvironment.SupportsAnsi;
11 references to _enableColor
aspire (11)
Utils\ConsoleActivityLogger.cs (11)
195
if (
_enableColor
)
231
ActivityState.Success =>
_enableColor
? "[green]" + SuccessSymbol + "[/]" : SuccessSymbol,
232
ActivityState.Warning =>
_enableColor
? "[yellow]" + WarningSymbol + "[/]" : WarningSymbol,
233
ActivityState.Failure =>
_enableColor
? "[red]" + FailureSymbol + "[/]" : FailureSymbol,
234
_ =>
_enableColor
? "[cyan]" + InProgressSymbol + "[/]" : InProgressSymbol
238
? (
_enableColor
? $" [red]— {HighlightAndEscape(rec.FailureReason!)}[/]" : $" — {rec.FailureReason}" )
260
if (!_hostEnvironment.SupportsInteractiveOutput || !
_enableColor
)
285
_finalStatusHeader =
_enableColor
291
_finalStatusHeader =
_enableColor
320
var coloredSymbol =
_enableColor
? ColorizeSymbol(symbol, state) : symbol;
330
if (
_enableColor
)