all repos — x @ 00de54be50ebf19913eb9ee37fa4de015bf5475b

Experiments and stuff

log: replace standard/global loggers

Alan Pearce
commit

00de54be50ebf19913eb9ee37fa4de015bf5475b

parent

3af026a42747b4ff0b56894eb9632c3b4402a04f

1 file changed, 3 insertions(+), 0 deletions(-)

jump to
M log/log.golog/log.go
@@ -91,6 +91,9 @@ filter,
)) } + zap.ReplaceGlobals(l) + zap.RedirectStdLog(l) + return &Logger{ logger: l.WithOptions(zap.AddCallerSkip(1)).Sugar(), }