Stream Manager¶
System-wide stream management, root logger control, and exception interception.
StreamManager
¶
Manages system streams and root logger
attach
¶
Attach a WrenchCL-formatted stream handler to the root logger
force_markup
¶
Force enable colorful console output with ANSI escape codes
intercept_exceptions
¶
Python
intercept_exceptions(install_hooks: bool = True, std_stream_mode: Literal['none', 'stderr', 'both'] = 'none') -> None
Configure global exception interception and stdout/stderr suppression
suppress
¶
Apply or change stdout/stderr suppression without altering hooks