logRequestResponse()function

logRequestResponse(response: Response, request: Request): Promise<void>
ParamType
responseResponse
The Response to log. required
requestRequest
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)