Log workflow-specific events.
(self, workflow_id: str, event_type: str, message: str,
correlation_id: str = None, **kwargs)
| 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.""" |