logRequestResponse()function
logRequestResponse(response: Response, request: Request): Promise<void>
| Param | Type | |
|---|---|---|
response | Response | The Response to log. required |
request | Request | The originating Request, included in the log for context. required |
| Return | |
|---|---|
Promise<void> | A promise that resolves once the response has been logged. |
Log a Response to a Request to the console.
Examples
await logRequestResponse(response, request)