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

Method log_workflow_event

utils/structured_logger.py:152–156  ·  view source on GitHub ↗

Log workflow-specific events.

(self, workflow_id: str, event_type: str, message: str, 
                          correlation_id: str = None, **kwargs)

Source from the content-addressed store, hash-verified

150 correlation_id, operation=operation, duration=duration, **kwargs)
151
152 def log_workflow_event(self, workflow_id: str, event_type: str, message: str,
153 correlation_id: str = None, **kwargs):
154 """Log workflow-specific events."""
155 self._log(LogType.WORKFLOW, LogLevel.INFO, message, correlation_id,
156 workflow_id=workflow_id, event_type=event_type, **kwargs)
157
158 def set_correlation_id(self, correlation_id: str):
159 """Set the correlation ID for this logger instance."""

Callers

nothing calls this directly

Calls 1

_logMethod · 0.95

Tested by

no test coverage detected