Get logger bound to a service with optional contextual variables.
Source code in hyperion/log.py
| def get_logger(service: str, **context: Any) -> "loguru.Logger":
"""Get logger bound to a service with optional contextual variables."""
return loguru.logger.bind(service=service, **context)
|