From 9f9ccaa64d5c0102a4eb7925488d048115ca8f3e Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Mon, 18 Mar 2024 10:37:38 +0000 Subject: Deploying to docs from @ python-discord/bot-core@9a497193db7cca2d64cd99251f34b83bec2d9137 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/pydis_core.utils.logging.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 4304a88f..af268440 100644 --- a/main/output/pydis_core.utils.logging.html +++ b/main/output/pydis_core.utils.logging.html @@ -10,9 +10,9 @@ - - + + @@ -375,12 +375,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)
@@ -404,7 +404,7 @@
 
 
-get_logger(name=None)[source]#
+get_logger(name=None)[source]#

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

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