diff options
author | 2021-11-14 16:55:34 +0100 | |
---|---|---|
committer | 2021-11-14 16:55:34 +0100 | |
commit | 8c2da5a0f80af4458a36cb3977d449c0cc5e039f (patch) | |
tree | e931381b6551e6e6309c21f816b9f694cf24ecd6 /bot/monkey_patches.py | |
parent | Resources: add copyright notice to ryanzec_colours.json (diff) | |
parent | Merge pull request #943 from python-discord/file-log-debug (diff) |
Merge branch 'main' into color-677
Diffstat (limited to 'bot/monkey_patches.py')
-rw-r--r-- | bot/monkey_patches.py | 11 |
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. |