Release v0.13.14: Colored logging output
Release v0.13.14
New Features
Colored Logging Output
- Added colored
[module]prefixes to logging output when running in interactive terminals - Module names now appear in cyan for better visual scanning and readability
- Color automatically disabled in non-TTY environments (pipes, automation, agents)
- Respects the
NO_COLORenvironment variable standard
Smart Color Detection
- Enabled: When outputting to a TTY (interactive terminal)
- Disabled: When piped to files, used by automation/agents, or non-TTY environments
- Disabled: When
NO_COLORenvironment variable is set
Technical Details
Implementation (_logging.py)
- Enhanced
ShortNameFormatterclass with ANSI color support - Uses cyan (
\033[36m) for module prefixes with proper reset codes - Zero performance overhead when colors are disabled
- Backward compatible with all existing logging code
Environment Variables
BOAT_LOG_LEVEL: Controls log verbosity (existing feature)NO_COLOR: Disables color output (new, follows standard convention)
Example
# Before (plain text)
[file_system] File created successfully
# After (in terminal - [file_system] appears in cyan)
[file_system] File created successfully
🤖 Generated with Claude Code