lightrft.utils.logging_utils¶
Logging configuration using loguru.
- lightrft.utils.logging_utils.init_logger(name: str, level: str = 'DEBUG') Logger[source]¶
Return the loguru logger instance.
Note: loguru uses a singleton pattern, so all loggers share the same configuration. The ‘name’ parameter is kept for backward compatibility but is not used by loguru.
- Parameters:
name (str) – Logger name (kept for backward compatibility)
level (str) – Logging level (kept for backward compatibility)
- Returns:
The loguru logger instance
- Return type:
loguru.Logger