Skip to content

Commit

Permalink
chore: change Msgf to Msg (#920)
Browse files Browse the repository at this point in the history
Change "logger.Error().Msgf(errMsg)" to "logger.Error().Msg(errMsg)"
  • Loading branch information
ctyytc authored Jan 21, 2025
1 parent 96d8ebe commit 0a7aad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/log/func.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 0a7aad7

Please sign in to comment.