refactor: 移除冗余日志输出并优化日志处理
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-02 18:32:41 +08:00
parent acc9bcf6ff
commit cdb7cec4ad
17 changed files with 59 additions and 100 deletions

View File

@@ -1,17 +1,15 @@
package demo
import (
"blazing/cool"
_ "blazing/modules/space/controller"
_ "blazing/modules/space/middleware"
"github.com/gogf/gf/v2/os/gctx"
"fmt"
)
func init() {
var (
ctx = gctx.GetInitCtx()
)
cool.Logger.Debug(ctx, "module space init start ...")
cool.Logger.Debug(ctx, "module space init finished ...")
// var (
// ctx = gctx.GetInitCtx()
// )
fmt.Println("module space init start ...")
fmt.Println("module space init finished ...")
}