Package turbogears :: Module testutil :: Class MemoryListHandler
[hide private]

Class MemoryListHandler

source code


Instance Methods [hide private]
 
__init__(self)
Initializes the instance - basically setting the formatter to None and the filter list to empty.
source code
 
emit(self, record)
Do whatever it takes to actually log the specified logging record.
source code
 
print_log(self) source code
 
get_log(self) source code

Inherited from logging.Handler: acquire, close, createLock, flush, format, handle, handleError, release, setFormatter, setLevel

Inherited from logging.Filterer: addFilter, filter, removeFilter

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initializes the instance - basically setting the formatter to None and the filter list to empty.

Overrides: logging.Filterer.__init__
(inherited documentation)

emit(self, record)

source code 

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

Overrides: logging.Handler.emit
(inherited documentation)