PrintBackend

class DIRAC.FrameworkSystem.private.logging.backends.PrintBackend.PrintBackend(optionsDictionary)

Bases: DIRAC.FrameworkSystem.private.logging.backends.BaseBackend.BaseBackend

COLOR_MAP = {'black': 0, 'blue': 4, 'cyan': 6, 'green': 2, 'magenta': 5, 'red': 1, 'white': 7, 'yellow': 3}
LEVEL_MAP = {'ALWAYS': ('black', 'white', False), 'DEBUG': (None, 'blue', False), 'ERROR': (None, 'red', False), 'EXCEPT': ('red', 'white', False), 'FATAL': ('red', 'black', False), 'INFO': (None, 'green', False), 'NOTICE': (None, 'magenta', False), 'VERB': (None, 'cyan', False), 'WARN': (None, 'yellow', False)}
__init__(optionsDictionary)

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

composeString(messageObject)
doMessage(messageObject)
flush()
getThreadId()