Skip to content

Commit

Permalink
fix: properly format warn log (#80)
Browse files Browse the repository at this point in the history
Signed-off-by: Dawid Górski <dawidgorski0000@gmail.com>
  • Loading branch information
Goorsky1 authored Oct 10, 2024
1 parent 59f95f6 commit db1e9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func Warn(v ...interface{}) {

// Warnf will print only when logger's Level is warn, info, verbose, debug or spam.
func Warnf(format string, v ...interface{}) {
log.Warn(format, v)
log.Warnf(format, v...)
}

// Info will print only when logger's Level is info, verbose, debug or spam.
Expand Down

0 comments on commit db1e9de

Please sign in to comment.