Definition at line 7 of file ProcessJobOptions.py.
| def GaudiKernel.ProcessJobOptions.LogFormatter.__init__ |
( |
|
self, |
|
|
|
fmt = None, |
|
|
|
datefmt = None, |
|
|
|
prefix = "# ", |
|
|
|
with_time = False |
|
) |
| |
Definition at line 8 of file ProcessJobOptions.py.
8 def __init__(self, fmt=None, datefmt=None, prefix = "# ", with_time = False):
9 logging.Formatter.__init__(self, fmt, datefmt)
| def GaudiKernel.ProcessJobOptions.LogFormatter.__init__ |
( |
|
self, |
|
|
|
fmt = None, |
|
|
|
datefmt = None, |
|
|
|
prefix = "# ", |
|
|
|
with_time = False |
|
) |
| |
Definition at line 8 of file ProcessJobOptions.py.
8 def __init__(self, fmt=None, datefmt=None, prefix = "# ", with_time = False):
9 logging.Formatter.__init__(self, fmt, datefmt)
| def GaudiKernel.ProcessJobOptions.LogFormatter.format |
( |
|
self, |
|
|
|
record |
|
) |
| |
Definition at line 12 of file ProcessJobOptions.py.
13 fmsg = logging.Formatter.format(self, record)
16 prefix +=
'%f ' % time.time()
17 if record.levelno >= logging.WARNING:
18 prefix += record.levelname +
": "
19 s =
"\n".join([ prefix + line
20 for line
in fmsg.splitlines() ])
| def GaudiKernel.ProcessJobOptions.LogFormatter.format |
( |
|
self, |
|
|
|
record |
|
) |
| |
Definition at line 12 of file ProcessJobOptions.py.
13 fmsg = logging.Formatter.format(self, record)
16 prefix +=
'%f ' % time.time()
17 if record.levelno >= logging.WARNING:
18 prefix += record.levelname +
": "
19 s =
"\n".join([ prefix + line
20 for line
in fmsg.splitlines() ])
| GaudiKernel.ProcessJobOptions.LogFormatter.prefix |
| GaudiKernel.ProcessJobOptions.LogFormatter.with_time |
The documentation for this class was generated from the following file: