MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / log

Method log

tools/python-3.11.9-amd64/Lib/logging/__init__.py:1880–1887  ·  view source on GitHub ↗

Delegate a log call to the underlying logger, after adding contextual information from this adapter instance.

(self, level, msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

1878 self.log(CRITICAL, msg, *args, **kwargs)
1879
1880 def log(self, level, msg, *args, **kwargs):
1881 """
1882 Delegate a log call to the underlying logger, after adding
1883 contextual information from this adapter instance.
1884 """
1885 if self.isEnabledFor(level):
1886 msg, kwargs = self.process(msg, kwargs)
1887 self.logger.log(level, msg, *args, **kwargs)
1888
1889 def isEnabledFor(self, level):
1890 """

Callers 6

debugMethod · 0.95
infoMethod · 0.95
warningMethod · 0.95
errorMethod · 0.95
exceptionMethod · 0.95
criticalMethod · 0.95

Calls 3

isEnabledForMethod · 0.95
processMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected