MCPcopy Index your code
hub / github.com/python/cpython / configure_filter

Method configure_filter

Lib/logging/config.py:732–739  ·  view source on GitHub ↗

Configure a filter from a dictionary.

(self, config)

Source from the content-addressed store, hash-verified

730 return result
731
732 def configure_filter(self, config):
733 """Configure a filter from a dictionary."""
734 if '()' in config:
735 result = self.configure_custom(config)
736 else:
737 name = config.get('name', '')
738 result = logging.Filter(name)
739 return result
740
741 def add_filters(self, filterer, filters):
742 """Add filters to a filterer from a list of names."""

Callers 1

configureMethod · 0.95

Calls 2

configure_customMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected