From f45d502025a10c6a15aa87dc03a186a6c679702c Mon Sep 17 00:00:00 2001 From: HassanAbouelela Date: Tue, 10 May 2022 19:58:02 +0000 Subject: Deploying to docs from @ python-discord/bot-core@e7fbea9a74f13312aa67a7737b632db46680ff80 🚀 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 c332615b..bc3528ef 100644 --- a/output/botcore.utils.logging.html +++ b/output/botcore.utils.logging.html @@ -218,12 +218,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)
@@ -245,7 +245,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