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

Method debug

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

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

Callers 1

debugFunction · 0.45

Calls 2

isEnabledForMethod · 0.95
_logMethod · 0.95

Tested by

no test coverage detected