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

Method debug

Lib/logging/__init__.py:1501–1511  ·  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

1499 self.manager._clear_cache()
1500
1501 def debug(self, msg, *args, **kwargs):
1502 """
1503 Log 'msg % args' with severity 'DEBUG'.
1504
1505 To pass exception information, use the keyword argument exc_info with
1506 a true value, e.g.
1507
1508 logger.debug("Houston, we have a %s", "thorny problem", exc_info=True)
1509 """
1510 if self.isEnabledFor(DEBUG):
1511 self._log(DEBUG, msg, args, **kwargs)
1512
1513 def info(self, msg, *args, **kwargs):
1514 """

Callers 1

debugFunction · 0.45

Calls 2

isEnabledForMethod · 0.95
_logMethod · 0.95

Tested by

no test coverage detected