Version: 9.16.0
KERNEL_PY.kernel.logger.ExtLogger Class Reference

This class extends Logger class and adds exception information when DEBUG messages are recorded. More...

Inheritance diagram for KERNEL_PY.kernel.logger.ExtLogger:

Public Member Functions

def __init__ (self, keyword="KEY", level=salome.kernel.logconfig.loggingLevel, color=None, sourceFileName=None)
 
def debug (self, message)
 Log a DEBUG message with exception information (equivalent to Logger.debug(message, exc_info = True) ). More...
 

Detailed Description

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) .

This class extends :class:`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)``.

Constructor & Destructor Documentation

◆ __init__()

def KERNEL_PY.kernel.logger.ExtLogger.__init__ (   self,
  keyword = "KEY",
  level = salome.kernel.logconfig.loggingLevel,
  color = None,
  sourceFileName = None 
)

Reimplemented from KERNEL_PY.kernel.logger.Logger.

Member Function Documentation

◆ debug()

def KERNEL_PY.kernel.logger.ExtLogger.debug (   self,
  message 
)

Log a DEBUG message with exception information (equivalent to Logger.debug(message, exc_info = True) ).

Log a DEBUG message with exception information (equivalent to
``Logger.debug(message, exc_info = True)``).