github uber-go/zap v1.18.0

latest releases: v1.27.0, v1.26.0, exp/v0.2.0...
2 years ago

Enhancements:

  • #961: Add zapcore.BufferedWriteSyncer, a new WriteSyncer that buffers
    messages in-memory and flushes them periodically.
  • #971: Add zapio.Writer to use a Zap logger as an io.Writer.
  • #897: Add zap.WithClock option to control the source of time via the
    new zapcore.Clock interface.
  • #949: Avoid panicking in zap.SugaredLogger when arguments of *w
    methods don't match expectations.
  • #943: Add support for filtering by level or arbitrary matcher function to
    zaptest/observer.
  • #691: Comply with io.StringWriter and io.ByteWriter in Zap's
    buffer.Buffer.

Thanks to @atrn0, @ernado, @heyanfu, @hnlq715, @zchee
for their contributions to this release.

Don't miss a new zap release

NewReleases is sending notifications on new releases.