Skip to content

Commit 5c01506

Browse files
committed
added comment on Log field
1 parent 5be86e0 commit 5c01506

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graphql.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ type Client struct {
4747
endpoint string
4848
httpClient *http.Client
4949

50+
// Log is called with various debug information.
51+
// To log to standard out, use:
52+
// client.Log = func(s string) { log.Println(s) }
5053
Log func(s string)
5154
}
5255

0 commit comments

Comments
 (0)