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

Function configure_logger

Tools/c-analyzer/c_common/scriptutil.py:95–99  ·  view source on GitHub ↗
(verbosity, logger=None, **kwargs)

Source from the content-addressed store, hash-verified

93
94
95def configure_logger(verbosity, logger=None, **kwargs):
96 if logger is None:
97 # Configure the root logger.
98 logger = logging.getLogger()
99 loggingutil.configure_logger(logger, verbosity, **kwargs)
100
101
102##################################

Callers 4

__main__.pyFile · 0.90
__main__.pyFile · 0.90
__main__.pyFile · 0.90
__main__.pyFile · 0.90

Calls 2

getLoggerMethod · 0.80
configure_loggerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…