Skip to content

Commit

Permalink
hot fix: *log.Logger => Logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Achille Roussel committed Sep 17, 2019
1 parent 45c0585 commit 46a3f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reader.go
Expand Up @@ -1266,7 +1266,7 @@ func (r *reader) run(ctx context.Context, offset int64) {
break readLoop

case io.EOF:
r.withLogger(func(log *log.Logger) {
r.withLogger(func(log Logger) {
log.Printf("the kafka reader got an EOF for partition %d of %s at offset %d: %s", r.partition, r.topic, offset, err)
})
r.stats.errors.observe(1)
Expand Down

0 comments on commit 46a3f29

Please sign in to comment.