Browse Source

update: add logger handle name

dev
Dnomd343 11 months ago
parent
commit
99f61438a0
  1. 2
      logger/logger.go

2
logger/logger.go

@ -79,7 +79,7 @@ func (handle *logCore) update() {
handle.entry = zap.New(
zapcore.NewTee(buildCore(&handle.plain), buildCore(&handle.colored)),
zap.AddCaller(), zap.AddCallerSkip(1),
).Sugar()
).Named("xproxy").Sugar()
}
// addPlainWrites adds plain text writers to the logCore.

Loading…
Cancel
Save