Create a logging interceptor that emits structured log entries for each request, response, and error phase. Sensitive headers can be redacted.
Logging configuration (defaults used for omitted fields)
Emits a structured log entry when a request is sent
Emits a structured log entry when a response is received
Emits a structured log entry when an error occurs
Create a logging interceptor that emits structured log entries for each request, response, and error phase. Sensitive headers can be redacted.