[Feat] Set logging model to "main" in main function

This commit is contained in:
Harry-zklcdc 2025-03-05 18:59:42 +08:00
parent de8c601be9
commit 5780f84714

View File

@ -27,6 +27,7 @@ var (
) )
func main() { func main() {
l.SetModel("main")
l.Info("Branch: %s", BRANCH) l.Info("Branch: %s", BRANCH)
l.Info("Version: %s", VERSION) l.Info("Version: %s", VERSION)
l.Info("Commit: %s", COMMIT) l.Info("Commit: %s", COMMIT)