Package duplicity :: Module log :: Class OutFilter
[hide private]
[frames] | no frames]

Class OutFilter

source code


Filter that only allows warning or less important messages

Instance Methods [hide private]
 
filter(self, record)
Determine if the specified record is to be logged.
source code

Inherited from logging.Filter: __init__

Method Details [hide private]

filter(self, record)

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)