Configure the logger with partial settings.
Get the current log level.
Check if logger is in silent mode.
PrivategetApply styling to a message (color, bold, hex).
Text to style
Optionaloptions: { color?: StyleColorName; bold?: boolean; hex?: string }Styling options
Styled string with ANSI codes
Apply bold styling to a message.
Text to make bold
Bold string with ANSI codes
Format a heading (bold + color).
Heading text
Optionaloptions: { color?: StyleColorName; hex?: string }Color options (default: blue)
Styled heading string
Format a label (yellow text).
Label text
Yellow-styled string
Format a notice (yellow text, alias for label).
Notice text
Yellow-styled string
Format muted/secondary text (gray).
Text to mute
Gray-styled string
PrivategetPrivateformatPrivatewritePrivatewriteLog a debug message (only visible if level is DEBUG). Format: [DEBUG 🔎 TIMESTAMP] ::: message
Log an info message. Standard CLI: Icon Message Verbose/Timestamp: [INFO 📄 TIMESTAMP] ::: message
Log a success message.
Log a warning message. Outputs to stderr as warnings are diagnostic messages.
Log an error message.
Optionalerror: unknownPrivatelogPrivateshouldPrivatelogPrivatecolorizePrint a raw message (useful for banners or tables). Treated as INFO level - respects silent mode.
Print output data (results, tables, JSON). Always prints regardless of log level - use for user-requested data. This is different from raw() which respects silent mode.
Simple Logger utility for consistent CLI output. Supports multiple log levels and configuration.