From 0a7aad74599945f9f5cbd2ab796324c6975bb3f6 Mon Sep 17 00:00:00 2001 From: "Lex.Chen" Date: Tue, 21 Jan 2025 16:30:21 +0800 Subject: [PATCH] chore: change Msgf to Msg (#920) Change "logger.Error().Msgf(errMsg)" to "logger.Error().Msg(errMsg)" --- internal/log/func.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/log/func.go b/internal/log/func.go index eb796dd6..1341fba2 100644 --- a/internal/log/func.go +++ b/internal/log/func.go @@ -33,6 +33,6 @@ func Panicf(format string, args ...interface{}) { } errMsg += fmt.Sprintf("\n\t\t\t%v -> %n()", frameStr, frame) } - logger.Error().Msgf(errMsg) + logger.Error().Msg(errMsg) os.Exit(1) }