Skip to content

Commit

Permalink
Rework docstring for LogHook.
Browse files Browse the repository at this point in the history
This commit removes a reference to a now missing struct and replaces
it with information about how KeepLog and Loghook interact.
  • Loading branch information
maxthomas committed Jun 19, 2017
1 parent 4f4c0a6 commit 583446e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ func NewExtendedClient(hc *http.Client) *Client {
return c
}

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

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

0 comments on commit 583446e

Please sign in to comment.