From e5a6dabe4e551182ed29fbe36cefbb8115b08f4d Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 10 Jun 2023 18:58:54 +0000 Subject: Deploying to docs from @ python-discord/bot-core@8d14eb4513cc9348168800995eaac1a054e3e780 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/pydis_core.utils.logging.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 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 7ca60da9..e271be9d 100644 --- a/main/output/pydis_core.utils.logging.html +++ b/main/output/pydis_core.utils.logging.html @@ -211,6 +211,10 @@ main +
  • + v9.7.0 +
  • +
  • v9.6.0
  • @@ -387,12 +391,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)
    @@ -416,7 +420,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