MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / error

Method error

utils/structured_logger.py:102–104  ·  view source on GitHub ↗

Log error with details.

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

Source from the content-addressed store, hash-verified

100 self._log(log_type, LogLevel.WARNING, message, correlation_id, **kwargs)
101
102 def error(self, message: str, correlation_id: str = None, log_type: LogType = LogType.ERROR, **kwargs):
103 """Log error with details."""
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."""

Callers

nothing calls this directly

Calls 1

_logMethod · 0.95

Tested by

no test coverage detected