chore(deps): update module go.uber.org/zap to v1.23.0 #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/go.uber.org-zap-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.21.0
->v1.23.0
Release Notes
uber-go/zap
v1.23.0
Compare Source
Enhancements:
zapcore.LevelOf
function to determine the level of aLevelEnabler
orCore
.zap.Stringers
field constructor to log arrays of objectsthat implement
String() string
.v1.22.0
Compare Source
Enhancements:
zap.Objects
andzap.ObjectValues
field constructors to logarrays of objects. With these two constructors, you don't need to implement
zapcore.ArrayMarshaler
for use withzap.Array
if those objects implementzapcore.ObjectMarshaler
.SugaredLogger.WithOptions
to build a copy of an existingSugaredLogger
with the provided options applied.*ln
variants toSugaredLogger
for each log level.These functions provide a string joining behavior similar to
fmt.Println
.zap.WithFatalHook
option to control the behavior of thelogger for
Fatal
-level log entries. This defaults to exiting the program.zap.Must
function that you can use withNewProduction
orNewDevelopment
to panic if the system was unable to build the logger.Logger.Log
method that allows specifying the log level fora statement dynamically.
Thanks to @cardil, @craigpastro, @sashamelentyev, @shota3506, and @zhupeijun
for their contributions to this release.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.