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

Method exception

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

Convenience method for logging an ERROR with exception information.

(self, msg, *args, exc_info=True, **kwargs)

Source from the content-addressed store, hash-verified

1518 self._log(ERROR, msg, args, **kwargs)
1519
1520 def exception(self, msg, *args, exc_info=True, **kwargs):
1521 """
1522 Convenience method for logging an ERROR with exception information.
1523 """
1524 self.error(msg, *args, exc_info=exc_info, **kwargs)
1525
1526 def critical(self, msg, *args, **kwargs):
1527 """

Callers

nothing calls this directly

Calls 1

errorMethod · 0.95

Tested by

no test coverage detected