-
Notifications
You must be signed in to change notification settings - Fork 10
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
Logging Handler #31
Comments
I came up with my own solution to this while debugging msgraph-sdk-go error responses. It does use a third-party module but a simple one (github.com/motemen/go-loghttp). I offer it here in case it's of any value.
|
Hi @mbarnes , |
Yeah, conditional compilation isn't a thing in Go unfortunately. |
A good alternative. We could also have the handler as part of the http package but not of the default handlers that are added to the client to drive enable/disable. |
https://github.com/microsoftgraph/msgraph-sdk-design/blob/master/middleware/LoggingHandler.md
The text was updated successfully, but these errors were encountered: