zap v1.18.0 Release Notes
Release Date: 2021-06-28 // almost 3 years ago-
โจ Enhancements:
- #961: Add
zapcore.BufferedWriteSyncer
, a newWriteSyncer
that buffers messages in-memory and flushes them periodically. - #971: Add
zapio.Writer
to use a Zap logger as anio.Writer
. - #897: Add
zap.WithClock
option to control the source of time via the newzapcore.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
andio.ByteWriter
in Zap'sbuffer.Buffer
.
Thanks to @atrn0, @ernado, @heyanfu, @hnlq715, @zchee ๐ for their contributions to this release.
- #961: Add