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

Method debug

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

Log 'msg % args' with severity 'DEBUG'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.debug("Houston, we have a %s", "thorny problem", exc_info=True)

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

Source from the content-addressed store, hash-verified

1465 self.manager._clear_cache()
1466
1467 def debug(self, msg, *args, **kwargs):
1468 """
1469 Log 'msg % args' with severity 'DEBUG'.
1470
1471 To pass exception information, use the keyword argument exc_info with
1472 a true value, e.g.
1473
1474 logger.debug("Houston, we have a %s", "thorny problem", exc_info=True)
1475 """
1476 if self.isEnabledFor(DEBUG):
1477 self._log(DEBUG, msg, args, **kwargs)
1478
1479 def info(self, msg, *args, **kwargs):
1480 """

Callers 3

debugFunction · 0.45
log_debugMethod · 0.45
parse_tokensMethod · 0.45

Calls 2

isEnabledForMethod · 0.95
_logMethod · 0.95

Tested by

no test coverage detected