-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http request and response logging #62
Comments
any updates on this? thanks. |
@explicitcall: No updates yet, but we're starting to discuss a more flexible network stack that would make it easy to add logging as well. If you're interested, please join |
Bump |
1 similar comment
Bump |
Try CFNetwork Diagnostic Logging for development. The |
CFNetwork Diagnostic logging as mentioned above, Charles Proxy, or MITM proxy are great workarounds until we get to this. But yes adding this at the lib level would be real helpful. |
With the changes in 0.11.0, you should now be able to hook in to both the request as it's about to go out so you can log it and/or change it, as well as the raw response data from the URLSession. Please see the new I'm gonna close this out since I think this should give anyone who wants to log these requests the information they need, and also allow them to use their logging tool of choice rather than something bolted on to Apollo. Please feel free to open new issues if you feel like there are use cases I've missed out on here! |
I would like a way to turn on logging of every http request and response for development and debug purposes.
The text was updated successfully, but these errors were encountered: