MCPcopy Index your code
hub / github.com/RustPython/RustPython / configure_logger

Method configure_logger

Lib/logging/config.py:917–924  ·  view source on GitHub ↗

Configure a non-root logger from a dictionary.

(self, name, config, incremental=False)

Source from the content-addressed store, hash-verified

915 self.add_filters(logger, filters)
916
917 def configure_logger(self, name, config, incremental=False):
918 """Configure a non-root logger from a dictionary."""
919 logger = logging.getLogger(name)
920 self.common_logger_config(logger, config, incremental)
921 logger.disabled = False
922 propagate = config.get('propagate', None)
923 if propagate is not None:
924 logger.propagate = propagate
925
926 def configure_root(self, config, incremental=False):
927 """Configure a root logger from a dictionary."""

Callers 1

configureMethod · 0.95

Calls 3

common_logger_configMethod · 0.95
getLoggerMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected