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

Method log

Lib/test/test_logging.py:5947–5951  ·  view source on GitHub ↗
(self, level, msg, /, *args, stacklevel=1, **kwargs)

Source from the content-addressed store, hash-verified

5945
5946class StyleAdapter(logging.LoggerAdapter):
5947 def log(self, level, msg, /, *args, stacklevel=1, **kwargs):
5948 if self.isEnabledFor(level):
5949 msg, kwargs = self.process(msg, kwargs)
5950 self.logger.log(level, Message(msg, args), **kwargs,
5951 stacklevel=stacklevel+1)
5952
5953
5954class LoggerTest(BaseTest, AssertErrorMessage):

Callers 15

test_styled_adapterMethod · 0.95
__rpow__Method · 0.45
test_logsMethod · 0.45
test_bit_lengthMethod · 0.45
check_stack_sizeFunction · 0.45
CMathTestsClass · 0.45
test_flatMethod · 0.45
test_nested_explicitMethod · 0.45
test_nested_inheritedMethod · 0.45

Calls 3

MessageClass · 0.70
isEnabledForMethod · 0.45
processMethod · 0.45

Tested by

no test coverage detected