This commit is contained in:
wangchuxiao 2023-03-14 12:11:22 +08:00
parent daffe8a7b7
commit 102c300f24

View File

@ -77,6 +77,7 @@ func NewZapLogger() (*ZapLogger, error) {
return nil, err
}
zl.zap = l.Sugar()
zl.WithValues("PID", os.Getegid())
return zl, nil
}