Skip to content

Instantly share code, notes, and snippets.

@stevehenderson
Created January 23, 2022 15:31
Show Gist options
  • Save stevehenderson/2db8bafc54e373061f59281eaefaeafe to your computer and use it in GitHub Desktop.
Save stevehenderson/2db8bafc54e373061f59281eaefaeafe to your computer and use it in GitHub Desktop.
How to increase the machinebox/graphql logging

When using the GraphQL machinebox go library, you can tak control of logging as follows:

graphqlclient.Log = func(s string) { log.Printf("YO: %s",s) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment