Replies: 1 comment
-
The debug logger is implemented as middleware in private functions. I doubt those will be exported as public functions. You can probably reimplement the logging in your own middleware. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I have a function like follows that I use to convert >=400 status code response into go errors.
For failed requests, to help with debugging, I'd like to get the type of output that you see when you have
SetDebug(true)
enabled for a client. Even better if you can direct that output to a file. Does resty support something like this?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions