Skip to content

Commit

Permalink
fixed Crit msg error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackmeng1985 committed Jun 25, 2024
1 parent cc2f4c7 commit 0e1d90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/logrus.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (l *logger) Error(msg string, ctx ...interface{}) {
}

func (l *logger) Crit(msg string, ctx ...interface{}) {
l.write(msg, LvlCrit, ctx, skipLevel)
l.write(msg, LvlFatal, ctx, skipLevel)
os.Exit(1)
}

Expand Down

0 comments on commit 0e1d90c

Please sign in to comment.