Use Logging Module
Use the logging module instead of print for application output
CLAUDE.md
Use the logging module, not print(), for application output. Logging provides levels (DEBUG, INFO, WARNING, ERROR), configurability, and structured output. print has no level, no format, and no way to disable it.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.