aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/core/extensions.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/core/extensions.py
parentUse new logging util from bot-core (diff)
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/exts/core/extensions.py')
-rw-r--r--bot/exts/core/extensions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/core/extensions.py b/bot/exts/core/extensions.py
index f96b0292..cfba58c8 100644
--- a/bot/exts/core/extensions.py
+++ b/bot/exts/core/extensions.py
@@ -1,5 +1,4 @@
import functools
-import logging
from collections.abc import Mapping
from enum import Enum
@@ -7,6 +6,7 @@ from discord import Colour, Embed
from discord.ext import commands
from discord.ext.commands import Context, group
from pydis_core.utils._extensions import unqualify
+from pydis_core.utils.logging import get_logger
from bot import exts
from bot.bot import Bot
@@ -14,7 +14,7 @@ from bot.constants import Client, Emojis, MODERATION_ROLES, Roles
from bot.utils.checks import with_role_check
from bot.utils.pagination import LinePaginator
-log = logging.getLogger(__name__)
+log = get_logger(__name__)
UNLOAD_BLACKLIST = {f"{exts.__name__}.core.extensions"}