logger_setup Module#

This module provides standardized logging configuration for the project. Includes console output with colors and a rotating file log.

utils.logger_setup.setup_universal_logging(default_level: int = 20, log_file: str = 'app.log') None[source]#

Sets up a global logging configuration for the entire project.

Includes colorized console output and plain text file output.

Parameters:
  • default_level (int, optional) – The logging level for the root logger. Defaults to logging.INFO.

  • log_file (str, optional) – The name of the log file to be created. Defaults to “app.log”.