Skip to content

Commit

Permalink
Merge pull request #324 from gabriel-vasile/doc
Browse files Browse the repository at this point in the history
docs: fix Consumer.SetLogger() description
  • Loading branch information
ploxiln authored Jun 25, 2021
2 parents 2a2babe + db5d938 commit d69e038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (r *Consumer) conns() []*Conn {
// The logger parameter is an interface that requires the following
// method to be implemented (such as the the stdlib log.Logger):
//
// Output(calldepth int, s string)
// Output(calldepth int, s string) error
//
func (r *Consumer) SetLogger(l logger, lvl LogLevel) {
r.logGuard.Lock()
Expand Down

0 comments on commit d69e038

Please sign in to comment.