Files
home-assistant/custom_components/hacs/utils/logger.py
2022-05-04 10:50:54 -07:00

12 lines
244 B
Python

"""Custom logger for HACS."""
import logging
from ..const import PACKAGE_NAME
_HACSLogger: logging.Logger = logging.getLogger(PACKAGE_NAME)
def get_hacs_logger() -> logging.Logger:
"""Return a Logger instance."""
return _HACSLogger