Package Pyblosxom :: Module tools :: Class LogFilter
[hide private]
[frames] | no frames]

Class LogFilter

source code

object --+
         |
        LogFilter

Filters out messages from log-channels that are not listed in the log_filter config variable.

Instance Methods [hide private]
 
__init__(self, names=None)
Initializes the filter to the list provided by the names argument (or [] if names is None).
source code
 
filter(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]

__init__(self, names=None)
(Constructor)

source code 
Initializes the filter to the list provided by the names argument (or [] if names is None).
Parameters:
  • names (list of strings) - list of name strings to filter out
Overrides: object.__init__