Update module go.uber.org/zap to v1.22.0 #16
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: prskr/kreaper#16
Loading…
Reference in a 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.22.0
Release Notes
uber-go/zap
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 Mend Renovate. View repository job log here.
Codecov Report
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.