Skip to content

Commit

Permalink
fix for go-resty#270
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Manley committed Sep 10, 2019
1 parent dd15327 commit edc056f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ func (l *logger) Debugf(format string, v ...interface{}) {
}

func (l *logger) output(format string, v ...interface{}) {
if len(v) == 0 {
l.l.Print(format)
return
}
l.l.Printf(format, v...)
}

Expand Down

0 comments on commit edc056f

Please sign in to comment.