Package Pyblosxom :: Module _logging :: Class Formatter
[hide private]
[frames] | no frames]

Class Formatter

source code

object --+
         |
        Formatter

A stripped down version of the logging.Formatter class. See the logging module for documentation.

Instance Methods [hide private]
 
converter(seconds=...)
Convert seconds since the Epoch to a time tuple expressing local time.
 
__init__(self, fmt='%(message)s')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
formatTime(self, record, datefmt=None) source code
 
formatException(self, ei) source code
 
format(self, record) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

converter(seconds=...)

 
Convert seconds since the Epoch to a time tuple expressing local time. When 'seconds' is not passed in, convert the current time instead.
Returns:
(tm_year,tm_mon,tm_day,tm_hour,tm_min,tm_sec,tm_wday,tm_yday,tm_isdst)

__init__(self, fmt='%(message)s')
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)