From 0f5ca262c002cf37a495a38e75ffecc2d6504ef8 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 2 Apr 2022 22:07:29 +0000 Subject: Deploying to docs from @ python-discord/bot-core@3f2543d690a6d733ad42ab36fd5ce42f4516bf9e 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- output/botcore.utils.logging.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'output/botcore.utils.logging.html') diff --git a/output/botcore.utils.logging.html b/output/botcore.utils.logging.html index 3c2a4dcd..b36bf545 100644 --- a/output/botcore.utils.logging.html +++ b/output/botcore.utils.logging.html @@ -216,12 +216,12 @@

Common logging related functions.

-class CustomLogger(name, level=0)[source]#
+class CustomLogger(name, level=0)[source]#

Bases: logging.Logger

Custom implementation of the logging.Logger class with an added trace method.

-trace(msg, *args, **kwargs)[source]#
+trace(msg, *args, **kwargs)[source]#

Log the given message with the severity "TRACE".

To pass exception information, use the keyword argument exc_info with a true value:

logger.trace("Houston, we have an %s", "interesting problem", exc_info=1)
@@ -243,7 +243,7 @@
 
-get_logger(name=None)[source]#
+get_logger(name=None)[source]#

Utility to make mypy recognise that logger is of type CustomLogger.

Parameters
-- cgit v1.2.3