diff options
author | 2023-11-25 22:02:00 +0000 | |
---|---|---|
committer | 2023-11-25 22:04:09 +0000 | |
commit | bbe107b845571b0af449cf3686b5fab8084a3fde (patch) | |
tree | a54b562ee258e38bd69ee09672464c00689fd6e2 /bot/constants.py | |
parent | Use new logging util from bot-core (diff) |
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py index 20953771..b0c8accd 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -1,9 +1,9 @@ import enum -import logging from os import environ from types import MappingProxyType from pydantic import BaseSettings, SecretStr +from pydis_core.utils.logging import get_logger __all__ = ( "Channels", @@ -28,7 +28,7 @@ __all__ = ( "POSITIVE_REPLIES", ) -log = logging.getLogger(__name__) +log = get_logger(__name__) PYTHON_PREFIX = "!" |