aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorGravatar Izan <[email protected]>2021-10-05 21:18:45 +0100
committerGravatar Chris Lovering <[email protected]>2021-10-14 22:16:33 +0100
commit94b4ad61c203e5b8b33ace2ef639a9fb2fdea4e4 (patch)
tree3bdbf38bbb19d69784a2eeb1aa88e0e557c7377c /tests/__init__.py
parentAdd `CustomLogger` to bot/log.py (diff)
Migrate to `bot.log.get_logger` function
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index 2228110ad..c2b9d12dc 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,5 +1,6 @@
import logging
+from bot.log import get_logger
-log = logging.getLogger()
+log = get_logger()
log.setLevel(logging.CRITICAL)