refactor: 移除冗余日志输出并优化日志处理
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -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 ...")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user