MCPcopy Create free account
hub / github.com/OpenBMB/ChatDev / critical

Method critical

utils/structured_logger.py:106–108  ·  view source on GitHub ↗

Log critical error.

(self, message: str, correlation_id: str = None, log_type: LogType = LogType.ERROR, **kwargs)

Source from the content-addressed store, hash-verified

104 self._log(log_type, LogLevel.ERROR, message, correlation_id, **kwargs)
105
106 def critical(self, message: str, correlation_id: str = None, log_type: LogType = LogType.ERROR, **kwargs):
107 """Log critical error."""
108 self._log(log_type, LogLevel.CRITICAL, message, correlation_id, **kwargs)
109
110 def log_exception(self, exception: Exception, message: str = None,
111 correlation_id: str = None, **kwargs) -> None:

Callers

nothing calls this directly

Calls 1

_logMethod · 0.95

Tested by

no test coverage detected