StaticcolorApply color styling to text with automatic fallback for unsupported terminals.
Text to colorize
Color function (e.g., chalk.red)
Colored text or plain text if colors not supported
StaticresetReset cached values (no-op - kept for test compatibility)
StaticsymbolDisplay Unicode symbol with ASCII fallback for unsupported terminals.
Preferred Unicode symbol
ASCII fallback character
Unicode symbol or fallback based on terminal support
StaticemojiCreates a safe emoji string
StaticcoloredCreates a safe colored symbol with fallback
StaticsafeCreates a safe colored text with emoji handling
OptionalcolorFn: ColorFunctionStaticformatCreates a safe formatted message with prefix, symbol, and content
OptionalcontentColor: ColorFunctionStaticformatCreates logger-style error formatting
Optionalsuggestion: stringStaticformatCreates logger-style warning formatting
StaticformatCreates logger-style info formatting
StaticformatCreates logger-style debug formatting
StaticgetGet safe fallback symbols for different log levels
Safe string formatting utilities with automatic fallbacks for terminal compatibility. Handles color, Unicode, and emoji formatting with appropriate fallbacks.