update logger
This commit is contained in:
@ -20,7 +20,6 @@ import (
|
||||
|
||||
"go.uber.org/zap"
|
||||
|
||||
pkgGinDefine "git.zhangdeman.cn/zhangdeman/gin/define"
|
||||
logger2 "git.zhangdeman.cn/zhangdeman/logger"
|
||||
"gorm.io/gorm/logger"
|
||||
)
|
||||
@ -60,7 +59,7 @@ func NewGormLoggerWithInstance(outCtx context.Context, dbClient *gorm.DB, instan
|
||||
i := &Gorm{
|
||||
dbClient: dbClient,
|
||||
instance: instance,
|
||||
traceIDField: pkgGinDefine.TraceIDField,
|
||||
traceIDField: consts.GinTraceIDField,
|
||||
extraCtxFieldList: extraCtxFieldList,
|
||||
flag: "",
|
||||
node: node,
|
||||
|
Reference in New Issue
Block a user