aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/__init__.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-11-25 22:02:00 +0000
committerGravatar Chris Lovering <[email protected]>2023-11-25 22:04:09 +0000
commitbbe107b845571b0af449cf3686b5fab8084a3fde (patch)
treea54b562ee258e38bd69ee09672464c00689fd6e2 /bot/exts/__init__.py
parentUse new logging util from bot-core (diff)
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/exts/__init__.py')
-rw-r--r--bot/exts/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/__init__.py b/bot/exts/__init__.py
index cb9c5ae8..ae2036b7 100644
--- a/bot/exts/__init__.py
+++ b/bot/exts/__init__.py
@@ -1,10 +1,11 @@
-import logging
import pkgutil
from collections.abc import Iterator
+from pydis_core.utils.logging import get_logger
+
__all__ = ("get_package_names",)
-log = logging.getLogger(__name__)
+log = get_logger(__name__)
def get_package_names() -> Iterator[str]: