| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions | Public Attributes

# ProcessJobOptions::LogFormatter Class Reference

List of all members.

## Public Member Functions
def | __init__
def | format
## Public Attributes
| prefix

## 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

ProcessJobOptions::LogFormatter::prefix

Definition at line 7 of file ProcessJobOptions.py.

The documentation for this class was generated from the following file:

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiKernel/python/GaudiKernel/ProcessJobOptions.py

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines