调整log代码,兼容zap扩展支持fields
This commit is contained in:
1 parent
39dd1ee6f8
commit
75711922b4
47 files changed
+267
-275
No files matched your search
@@ -9,5 +9,5 @@ type Service struct {
|
||||
Orm *gorm.DB
|
||||
Msg string
|
||||
MsgID string
|
||||
Log logger.Logger
|
||||
Log *logger.Logger
|
||||
}
|
||||
Reference in new issue
Block a user