Log performance metrics.
(self, operation: str, duration: float, correlation_id: str = None, **kwargs)
| 144 | event_type=event_type, **kwargs) |
| 145 | |
| 146 | def log_performance(self, operation: str, duration: float, correlation_id: str = None, **kwargs): |
| 147 | """Log performance metrics.""" |
| 148 | self._log(LogType.PERFORMANCE, LogLevel.INFO, |
| 149 | f"Operation {operation} completed in {duration:.3f}s", |
| 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): |