Trees | Index | Help |
|
---|
Package logging :: Class Filterer |
|
Handler
Method Summary | |
---|---|
Initialize the list of filters to be an empty list. | |
Add the specified filter to this handler. | |
Determine if a record is loggable by consulting all the filters. | |
Remove the specified filter from this handler. |
Method Details |
---|
__init__(self)
Initialize the list of filters to be an empty list.
|
addFilter(self, filter)Add the specified filter to this handler. |
filter(self, record)Determine if a record is loggable by consulting all the filters. The default is to allow the record to be logged; any filter can veto this and the record is then dropped. Returns a zero value if a record is to be dropped, else non-zero. |
removeFilter(self, filter)Remove the specified filter from this handler. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:26 2005 | http://epydoc.sf.net |