aboutsummaryrefslogtreecommitdiffstats
path: root/bot/monkey_patches.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-11-11 16:48:15 -0800
committerGravatar GitHub <[email protected]>2021-11-11 16:48:15 -0800
commit2450138a5edb1e009e577d7da1134798261f26d3 (patch)
tree3e6fa933f0bb0cc7ca912c369224b9e006e12cb4 /bot/monkey_patches.py
parentMerge PR #909: Fix challenge cog not working for beta languages (diff)
parentMerge branch 'main' into coloredlogs (diff)
Merge pull request #858 from Numerlor/coloredlogs
Diffstat (limited to 'bot/monkey_patches.py')
-rw-r--r--bot/monkey_patches.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/bot/monkey_patches.py b/bot/monkey_patches.py
index fe81f2e3..fa6627d1 100644
--- a/bot/monkey_patches.py
+++ b/bot/monkey_patches.py
@@ -7,17 +7,6 @@ from discord.ext import commands
log = logging.getLogger(__name__)
-def trace_log(self: logging.Logger, msg: str, *args, **kwargs) -> None:
- """
- Log 'msg % args' with severity 'TRACE'.
-
- To pass exception information, use the keyword argument exc_info with a true value, e.g.
- logger.trace("Houston, we have an %s", "interesting problem", exc_info=1)
- """
- if self.isEnabledFor(logging.TRACE):
- self._log(logging.TRACE, msg, args, **kwargs)
-
-
class Command(commands.Command):
"""
A `discord.ext.commands.Command` subclass which supports root aliases.