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

Class HtmlFormatter

source code

logging.Formatter --+
                    |
                   HtmlFormatter

Instance Methods [hide private]
 
__init__(self)
Initialize the formatter with specified format strings.
source code
 
formatException(self, exc_info)
Format and return the specified exception information as a string.
source code

Inherited from logging.Formatter: converter, format, formatTime

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 and return the specified exception information as a string.

This default implementation just uses traceback.print_exception()
Overrides: logging.Formatter.formatException
(inherited documentation)