From ab663364761a1dd5b60d804e88f5c88c40f7d75b Mon Sep 17 00:00:00 2001 From: wookie184 Date: Fri, 31 May 2024 00:30:30 +0000 Subject: Deploying to docs from @ python-discord/bot-core@483cc70a6ec80f98ed59a4639c1642c65bf23003 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/pydis_core.utils.logging.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main/output/pydis_core.utils.logging.html') diff --git a/main/output/pydis_core.utils.logging.html b/main/output/pydis_core.utils.logging.html index 9ab328ee..85a46b04 100644 --- a/main/output/pydis_core.utils.logging.html +++ b/main/output/pydis_core.utils.logging.html @@ -394,12 +394,12 @@

Common logging related functions.

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

Bases: 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)
@@ -423,7 +423,7 @@
 
 
-get_logger(name=None)[source]¶
+get_logger(name=None)[source]¶

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

Parameters:
@@ -440,7 +440,7 @@
-log_format[source]¶
+log_format[source]¶

A logging.Formatter that can be used to standardise logging across all projects using pydis_core.

-- cgit v1.2.3