From 93511e004818b5aa7fa6539682645592feabbabc Mon Sep 17 00:00:00 2001 From: wookie184 Date: Thu, 18 Jul 2024 19:38:08 +0000 Subject: Deploying to docs from @ python-discord/bot-core@d1ef4fd6990ce79e15328126d8be578d3521f83b 🚀 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 c25000a6..91271a2c 100644 --- a/main/output/pydis_core.utils.logging.html +++ b/main/output/pydis_core.utils.logging.html @@ -465,12 +465,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)
@@ -494,7 +494,7 @@
 
 
-get_logger(name=None)[source]¶
+get_logger(name=None)[source]¶

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

Parameters:
@@ -511,7 +511,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