diff options
author | 2021-10-14 22:27:28 +0100 | |
---|---|---|
committer | 2021-10-14 22:27:28 +0100 | |
commit | 1ca6d5765d15c9f35e94a7069acd1acc85503e14 (patch) | |
tree | 9a717558d1519d040424d0b6e477dc2254000a20 /tests/__init__.py | |
parent | Add a contribute tag which explains how to contribute to PyDis projects (diff) | |
parent | Fix 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__.py | 3 |
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) |