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

Method exception

Lib/logging/__init__.py:1930–1934  ·  view source on GitHub ↗

Delegate an exception call to the underlying logger.

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

Source from the content-addressed store, hash-verified

1928 self.log(ERROR, msg, *args, **kwargs)
1929
1930 def exception(self, msg, *args, exc_info=True, **kwargs):
1931 """
1932 Delegate an exception call to the underlying logger.
1933 """
1934 self.log(ERROR, msg, *args, exc_info=exc_info, **kwargs)
1935
1936 def critical(self, msg, *args, **kwargs):
1937 """

Callers

nothing calls this directly

Calls 1

logMethod · 0.95

Tested by

no test coverage detected