Spaces:
Sleeping
Sleeping
File size: 449 Bytes
697be7d a952141 697be7d abcd0c2 a952141 abcd0c2 a952141 697be7d abcd0c2 697be7d a952141 697be7d a952141 697be7d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | """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
|