Skip to content

Commit

Permalink
fix: correct the wrong logging function
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Nov 21, 2021
1 parent c40b4b6 commit 10c619f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logging/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func Errorf(format string, args ...interface{}) {

// Fatalf logs messages at FATAL level.
func Fatalf(format string, args ...interface{}) {
defaultLogger.Errorf(format, args...)
defaultLogger.Fatalf(format, args...)
}

// Logger is used for logging formatted messages.
Expand Down

0 comments on commit 10c619f

Please sign in to comment.