feat(backend): add data export
This commit is contained in:
parent
ded9d06e4a
commit
15109819df
13 changed files with 559 additions and 4 deletions
|
@ -12,7 +12,7 @@ var SugaredLogger *zap.SugaredLogger
|
|||
func init() {
|
||||
zcfg := zap.NewProductionConfig()
|
||||
|
||||
zcfg.Level.SetLevel(zap.InfoLevel)
|
||||
zcfg.Level.SetLevel(zap.DebugLevel)
|
||||
zcfg.Encoding = "console"
|
||||
zcfg.EncoderConfig.EncodeLevel = zapcore.CapitalColorLevelEncoder
|
||||
zcfg.EncoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue