aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-10-14 22:27:28 +0100
committerGravatar GitHub <[email protected]>2021-10-14 22:27:28 +0100
commit1ca6d5765d15c9f35e94a7069acd1acc85503e14 (patch)
tree9a717558d1519d040424d0b6e477dc2254000a20 /tests/__init__.py
parentAdd a contribute tag which explains how to contribute to PyDis projects (diff)
parentFix newlines after imports and address review (diff)
Merge pull request #1831 from python-discord/custom-logger-class
Add `CustomLogger` to prevent IDE lint warnings when calling `log.trace`.
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)