Skip to content

Utils

utils

Utility functions.

Utility functions for SUS, primarily logging configuration with Rich formatting for styled console output. Provides setup_logging() for RichHandler configuration.

Functions

setup_logging

setup_logging(verbose: bool = False) -> None

Setup logging with RichHandler for beautiful console output.

Parameters:

Name Type Description Default
verbose bool

If True, sets logging to DEBUG level and shows file paths. If False, sets logging to INFO level and suppresses noisy loggers.

False