MCPcopy Create free account
hub / github.com/FastLED/FastLED / print_red

Method print_red

ci/util/color_output.py:59–65  ·  view source on GitHub ↗

Print message in red color.

(self, message: str)

Source from the content-addressed store, hash-verified

57 self._fallback_print(msg, "⚠️ ")
58
59 def print_red(self, message: str) -> None:
60 """Print message in red color."""
61 msg = f"{get_elapsed_str()} {message}"
62 if self.console:
63 self.console.print(msg, style="red")
64 else:
65 self._fallback_print(msg, "❌ ")
66
67 def print_blue(self, message: str) -> None:
68 """Print message in blue color."""

Callers 1

print_redFunction · 0.80

Calls 3

_fallback_printMethod · 0.95
get_elapsed_strFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected