Skip to content

Commit 99271bb

Browse files
author
Seth Ammons
authored
Merge pull request #22 from maxthomas/fix-docstring
Rework docstring for LogHook.
2 parents 4f4c0a6 + 583446e commit 99271bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ func NewExtendedClient(hc *http.Client) *Client {
109109
return c
110110
}
111111

112-
// PrintErrStrategy is used to log attempts as they happen.
113-
// You know, more visible
112+
// LogHook is used to log attempts as they happen. This function is never called,
113+
// however, if KeepLog is set to true.
114114
type LogHook func(e ErrEntry)
115115

116116
// BackoffStrategy is used to determine how long a retry request should wait until attempted

0 commit comments

Comments
 (0)