swvo#

swvo.setup_logging(level: str = 'INFO', log_file: Path | None = None, file_mode: str = 'w')[source]#

Setup logging for the swvo package and root logger.

Parameters:
levelstr, optional

Logging level, by default is INFO

log_filePath, optional

Path to log file. If None, only console logging is enabled.If provided, logs will be written to both console and file., by default None

Modules