From 27802dbff88ef3e2312664b0e9d2fc52c5740f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Mon, 27 Dec 2021 16:10:05 +0100 Subject: [PATCH] Import get_hacs_logger instead of getLogger (#27) --- helpers/action.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/action.py b/helpers/action.py index 217c078..7ff4e48 100644 --- a/helpers/action.py +++ b/helpers/action.py @@ -10,7 +10,7 @@ from custom_components.hacs.base import HacsBase from custom_components.hacs.const import HACS_ACTION_GITHUB_API_HEADERS from custom_components.hacs.exceptions import HacsException -from custom_components.hacs.utils.logger import getLogger +from custom_components.hacs.utils.logger import get_hacs_logger from custom_components.hacs.validate.manager import ValidationManager TOKEN = os.getenv("INPUT_GITHUB_TOKEN") @@ -34,7 +34,7 @@ "theme", ] -logger = getLogger("action") +logger = get_hacs_logger() def error(error: str):