Version: 9.16.0
logger.ExtLogger Class Reference

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

Inheritance diagram for 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) .

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from logger.Logger.

Member Function Documentation

◆ debug()

def logger.ExtLogger.debug (   self,
  message 
)

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