From 3dd6446281c8529f27b1673c1d9a375f23248484 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 21 Mar 2022 23:17:16 +0000 Subject: [PATCH] change format --- log/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log/log.go b/log/log.go index b1822d3..a16150b 100644 --- a/log/log.go +++ b/log/log.go @@ -105,7 +105,7 @@ func Fatal() *zlog.Event { } func Fatalf(format string, args ...interface{}) { - Logger.Fatal().Msgf(format, args) + Logger.Fatal().Msgf(format, args...) } func Fatalln(args ...interface{}) { @@ -121,7 +121,7 @@ func Panic() *zlog.Event { } func Panicf(format string, args ...interface{}) { - Logger.Panic().Msgf(format, args) + Logger.Panic().Msgf(format, args...) } func Panicln(args ...interface{}) {