smallworld.logging¶
- smallworld.logging.setup_logging(level: int = 20, verbose: bool = False, colors: bool = True, clear: bool = True) None¶
Setup log handling.
Note: this should only be called once.
- Parameters:
level – Logging level (from logging module).
verbose – Enable verbose logging mode.
colors – Enable logging colors (if supported).
clear – Remove all other handlers from the root logger.