refactor(cool): 修复Logger变量名拼写错误 将全局Logger变量从Loger修正为Logger,统一日志实例命名规范, 确保所有模块中日志记录的一致性。 BREAKING CHANGE: 全局日志实例变量名从Loger改为Logger ```
18 lines
317 B
Go
18 lines
317 B
Go
package demo
|
|
|
|
import (
|
|
"blazing/cool"
|
|
_ "blazing/modules/space/controller"
|
|
_ "blazing/modules/space/middleware"
|
|
|
|
"github.com/gogf/gf/v2/os/gctx"
|
|
)
|
|
|
|
func init() {
|
|
var (
|
|
ctx = gctx.GetInitCtx()
|
|
)
|
|
cool.Logger.Debug(ctx, "module space init start ...")
|
|
cool.Logger.Debug(ctx, "module space init finished ...")
|
|
}
|