Package wafadmin :: Module Logs :: Class log_filter
[hide private]
[frames] | no frames]

Class log_filter

source code

logging.Filter --+
                 |
                log_filter

Instance Methods [hide private]
 
__init__(self, name=None)
Initialize a filter.
source code
 
filter(self, rec)
Determine if the specified record is to be logged.
source code
Method Details [hide private]

__init__(self, name=None)
(Constructor)

source code 

Initialize a filter.

Initialize with the name of the logger which, together with its children, will have its events allowed through the filter. If no name is specified, allow every event.

Overrides: logging.Filter.__init__
(inherited documentation)

filter(self, rec)

source code 

Determine if the specified record is to be logged.

Is the specified record to be logged? Returns 0 for no, nonzero for yes. If deemed appropriate, the record may be modified in-place.

Overrides: logging.Filter.filter
(inherited documentation)