package golog import ( "context" ) // GinSLogCustom 框架自定义日志 type GinSLogCustom struct { slog struct { status bool // 状态 client *SLog // 日志服务 } } // GinSLogCustomFun 框架自定义日志驱动 type GinSLogCustomFun func() *GinSLogCustom // NewGinSLogCustom 创建框架实例化 func NewGinSLogCustom(ctx context.Context) (*GinSLogCustom, error) { c := &GinSLogCustom{} return c, nil }