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

Method warning

utils/structured_logger.py:98–100  ·  view source on GitHub ↗

Log warning.

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

Source from the content-addressed store, hash-verified

96 self._log(log_type, LogLevel.DEBUG, message, correlation_id, **kwargs)
97
98 def warning(self, message: str, correlation_id: str = None, log_type: LogType = LogType.WORKFLOW, **kwargs):
99 """Log warning."""
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."""

Callers

nothing calls this directly

Calls 1

_logMethod · 0.95

Tested by

no test coverage detected