data-extract / logger.py
validops-east-1's picture
update
697be7d
Raw
History Blame Contribute Delete
449 Bytes
"""Centralised logging — re-exports structlog.getLogger.
All application code should use this module to obtain loggers,
ensuring consistent structlog configuration throughout the codebase.
Usage
-----
from logger import get_logger
logger = get_logger(__name__)
logger.info("event", key="value", duration_ms=42.0)
"""
from __future__ import annotations
import structlog
__all__ = ["get_logger"]
get_logger = structlog.get_logger