""" Centralized Logging Infrastructure for GEPA Optimizer. This module provides a unified logging system with: - Structured logging with context - Consistent formatting across all modules - Log level configuration - Operation tracking with timing - Contextual logging for debugging Usage: from gepa_optimizer.infrastructure.logging import get_logger, LogContext logger = get_logger(__name__) logger.info("Starting optimization", extra={"iteration": 1}) with LogContext(logger, "evaluation", sample_id=123): logger.info("Evaluating sample") """ from .logger import ( get_logger, configure_logging, LogLevel, GEPA_LOGGER_NAME, ) from .context import LogContext, log_operation from .formatters import GepaFormatter, JsonFormatter __all__ = [ # Core logging "get_logger", "configure_logging", "LogLevel", "GEPA_LOGGER_NAME", # Context management "LogContext", "log_operation", # Formatters "GepaFormatter", "JsonFormatter", ]