update logger

This commit is contained in:
zhangdeman committed 2024-07-23 21:43:30 +08:00
1 parent d978913b67
commit 0ac5145c24
3 files changed
+8 -4

No files matched your search

+1 -2
View File
@@ -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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.