Log incoming request.
(self, method: str, url: str, correlation_id: str = None, **kwargs)
| 128 | exception=exception_info, **kwargs) |
| 129 | |
| 130 | def log_request(self, method: str, url: str, correlation_id: str = None, **kwargs): |
| 131 | """Log incoming request.""" |
| 132 | self._log(LogType.REQUEST, LogLevel.INFO, f"Incoming {method} request to {url}", |
| 133 | correlation_id, method=method, url=url, **kwargs) |
| 134 | |
| 135 | def log_response(self, status_code: int, response_time: float, correlation_id: str = None, **kwargs): |
| 136 | """Log outgoing response.""" |
no test coverage detected