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

Method critical

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

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

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

Source from the content-addressed store, hash-verified

1524 self.error(msg, *args, exc_info=exc_info, **kwargs)
1525
1526 def critical(self, msg, *args, **kwargs):
1527 """
1528 Log 'msg % args' with severity 'CRITICAL'.
1529
1530 To pass exception information, use the keyword argument exc_info with
1531 a true value, e.g.
1532
1533 logger.critical("Houston, we have a %s", "major disaster", exc_info=True)
1534 """
1535 if self.isEnabledFor(CRITICAL):
1536 self._log(CRITICAL, msg, args, **kwargs)
1537
1538 def fatal(self, msg, *args, **kwargs):
1539 """

Callers 15

fatalMethod · 0.95
criticalFunction · 0.45
_workerFunction · 0.45
_process_workerFunction · 0.45
logging.pyFile · 0.45
unpack_fileFunction · 0.45
call_subprocessFunction · 0.45
_warn_about_conflictsMethod · 0.45

Calls 2

isEnabledForMethod · 0.95
_logMethod · 0.95

Tested by 1