This class extends Logger class and adds exception information when DEBUG messages are recorded. More...
Public Member Functions | |
def | __init__ |
def | debug |
Log a DEBUG message with exception information (equivalent to Logger.debug(message, exc_info = True) ). More... | |
def | showDebug |
Log all messages, including DEBUG level messages (equivalent to setLevel(logging.DEBUG)). More... | |
def | setLogFile |
Define a log file to record the log messages (in addition to the standard output). More... | |
def | setColor |
Set the color of log messages on color-capable terminals. More... | |
def | closeLogFile |
Close the log file. More... | |
def | hideDebug |
Hide DEBUG level messages (equivalent to setLevel(logging.INFO)). More... | |
def | fatal |
Log a message with CRITICAL level. More... | |
This class extends Logger class and adds exception information when DEBUG messages are recorded.
It exists mainly for backward compatibility, as the same thing can be done by calling Logger.debug(message, exc_info = True) .
def logger.ExtLogger.debug | ( | self, | |
message | |||
) |
Log a DEBUG message with exception information (equivalent to Logger.debug(message, exc_info = True) ).
|
inherited |
Log all messages, including DEBUG level messages (equivalent to setLevel(logging.DEBUG)).
|
inherited |
Define a log file to record the log messages (in addition to the standard output).
|
inherited |
Set the color of log messages on color-capable terminals.
If color is None, the default color will be used.
|
inherited |
Close the log file.
|
inherited |
Hide DEBUG level messages (equivalent to setLevel(logging.INFO)).
|
inherited |
Log a message with CRITICAL level.
This method only exists for backward compatibility and is equivalent to critical(message).