From 42d116fb9571c6dd55d24e900e969ed9e64ed8e3 Mon Sep 17 00:00:00 2001 From: wookie184 Date: Tue, 11 Jun 2024 18:45:26 +0000 Subject: Deploying to docs from @ python-discord/bot-core@61ff0350396238879b45b5b01f75c06fb9778a4a 🚀 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 cb1cbb4c..6c507e5e 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