Package Products :: Package ZenUtils :: Module Utils :: Class HtmlFormatter |
[hide private]
[frames] | no frames]

# Class HtmlFormatter

source code

           object --+
                    |
    logging.Formatter --+
                        |
                       HtmlFormatter

Formatter for the logging class

Instance Methods | [hide private]
__init__(self) Initialize the formatter with specified format strings. | source code
string |
formatException(self, exc_info) Format a Python exception | source code
Inherited from `logging.Formatter`: `format`, `formatTime`, `usesTime`

Class Variables | [hide private]
Inherited from `logging.Formatter`: `converter`

Method Details | [hide private]

### __init__(self) (Constructor) | source code
Initialize the formatter with specified format strings. Initialize the formatter either with the specified format string, or a default as described above. Allow for specialized date formatting with the optional datefmt argument (if omitted, you get the ISO8601 format). Overrides: logging.Formatter.__init__ (inherited documentation)

### formatException(self, exc_info) | source code
Format a Python exception Parameters: `exc_info` (Python exception class) - Python exception containing a description of what went wrong Returns: string formatted exception Overrides: logging.Formatter.formatException