Logging Configuration

Logging Configuration#

config.py modules

ogcore.config#

Centralized configuration for OG-Core logging.

This module provides a centralized way to configure logging levels across all OG-Core modules, avoiding circular import issues.

ogcore.config.set_logging_level(verbose=True)[source]#

Set the logging level for OG-Core modules.

Parameters:

verbose (bool) – If True, set logging to INFO level. If False, set logging to WARNING level.

Returns:

The logging level that was set.

Return type:

int