change format

This commit is contained in:
a 2022-03-21 23:17:16 +00:00
parent cc50acd599
commit 3dd6446281
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ func Fatal() *zlog.Event {
} }
func Fatalf(format string, args ...interface{}) { func Fatalf(format string, args ...interface{}) {
Logger.Fatal().Msgf(format, args) Logger.Fatal().Msgf(format, args...)
} }
func Fatalln(args ...interface{}) { func Fatalln(args ...interface{}) {
@ -121,7 +121,7 @@ func Panic() *zlog.Event {
} }
func Panicf(format string, args ...interface{}) { func Panicf(format string, args ...interface{}) {
Logger.Panic().Msgf(format, args) Logger.Panic().Msgf(format, args...)
} }
func Panicln(args ...interface{}) { func Panicln(args ...interface{}) {