webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self) |
def | addFilter (self, filter) |
def | removeFilter (self, filter) |
def | filter (self, record) |
Public Attributes | |
filters | |
A base class for loggers and handlers which allows them to share common code.
def compat_logging.Filterer.__init__ | ( | self | ) |
Initialize the list of filters to be an empty list.
def compat_logging.Filterer.addFilter | ( | self, | |
filter | |||
) |
Add the specified filter to this handler.
def compat_logging.Filterer.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.
def compat_logging.Filterer.removeFilter | ( | self, | |
filter | |||
) |
Remove the specified filter from this handler.
compat_logging.Filterer.filters |