Back arrowBack to Templates

Log Request & Response

Capture the full request and response to send to your log provider.

Categories:
ProgrammabilityLogging

Log Request & Response#

This sample shows how to add logging for every request that captures the full request and response in order to send to your log provider.

This example uses the OnResponseSendingFinal hook in the zuplo.runtime.ts file to register a global log event.