Closed npinchot closed 5 years ago
Hi @npinchot, if all you want to do is save off the raw request and response body, you can do so by saving request_body
and response_body
within the http class.
We don't currently have a formal logger implementation a la the ruby sdk, but we could think about adding one if there is a general need for one.
I'm curious as to what you mean by debugging an improper request or response - I would think the error result pattern would give you most if not all the information you need from a failed request to both log the failure and take steps to resolve it, but I don't know your use case. Can you share any details about what situation you're planning for with this request?
Hi @npinchot I'm going to close this but we can reopen it if you would like to provide us with more info regarding your use case.
General information
Issue description
I would like to be able to easily get a log or representation of the request and response that was sent & received for the API call. This is helpful in case we did not handle a request or response properly we can debug.