logging_config

Logging configuration module for AutoCast.

This module provides centralized logging configuration for all AutoCast components, including console and file-based logging with customizable log levels. It ensures consistent logging behavior across all components of the AutoCast tool.

Functions

configure_logging

Configure logging for all AutoCast components.

configure_logging(level=20, log_file=None)

Configure logging for all AutoCast components.

Parameters:
  • level – The logging level to use (default: logging.INFO).

  • log_file – Optional path to a log file. If provided, logs will be written to this file in addition to stdout (default: None).