Logger

DIRAC Logger client

class DIRAC.FrameworkSystem.private.logging.Logger.Logger

Bases: object

__init__()

x.__init__(…) initializes x; see help(type(x)) for signature

always(sMsg, sVarMsg='')
debug(sMsg, sVarMsg='')
defaultLogLevel = 'NOTICE'
error(sMsg, sVarMsg='')
exception(sMsg='', sVarMsg='', lException=False, lExcInfo=False)
fatal(sMsg, sVarMsg='')
flushAllMessages(exitCode=0)
getAllPossibleLevels()

Return a list of all the levels available

getLevel()

Return the level name of the logger

getName()

Return the system/component name

getSubLogger(subName, child=True)
info(sMsg, sVarMsg='')
initialize(systemName, cfgPath)
initialized()
notice(sMsg, sVarMsg='')
processMessage(messageObject)
registerBackends(desiredBackends)
setLevel(levelName)
showHeaders(yesno=True)
showStack()
showThreadIDs(yesno=True)
shown(levelName)
verbose(sMsg, sVarMsg='')
warn(sMsg, sVarMsg='')