List of all members.
Detailed Description
Definition at line 6 of file ProcessJobOptions.py.
Constructor & Destructor Documentation
def ProcessJobOptions::LogFormatter::__init__ |
( |
|
self, |
|
|
|
fmt = None , |
|
|
|
datefmt = None , |
|
|
|
prefix = "# " |
|
) |
| |
Definition at line 7 of file ProcessJobOptions.py.
00008 :
00009 logging.Formatter.__init__(self, fmt, datefmt)
self.prefix = prefix
Member Function Documentation
def ProcessJobOptions::LogFormatter::format |
( |
|
self, |
|
|
|
record |
|
) |
| |
Definition at line 10 of file ProcessJobOptions.py.
00011 :
00012 fmsg = logging.Formatter.format(self, record)
00013 prefix = self.prefix
00014 if record.levelno >= logging.WARNING:
00015 prefix += record.levelname + ": "
00016 s = "\n".join([ prefix + line
00017 for line in fmsg.splitlines() ])
00018 return s
Member Data Documentation
The documentation for this class was generated from the following file:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiKernel/python/GaudiKernel/ProcessJobOptions.py