Ecosyste.ms: Packages
An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.
proxy.golang.org : github.com/go-logr/zapr : v0.3.0
Package zapr defines an implementation of the github.com/go-logr/logr interfaces built on top of Zap (go.uber.org/zap). A new logr.Logger can be constructed from an existing zap.Logger using the NewLogger function: For the most part, concepts in Zap correspond directly with those in logr. Unlike Zap, all fields *must* be in the form of sugared fields -- it's illegal to pass a strongly-typed Zap field in a key position to any of the log methods. Levels in logr correspond to custom debug levels in Zap. Any given level in logr is represents by its inverse in zap (`zapLevel = -1*logrLevel`). For example V(2) is equivalent to log level -2 in Zap, while V(1) is equivalent to Zap's DebugLevel.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/go-logr/[email protected]
Published:
Indexed:
- github.com/go-logr/logr v0.2.0
- go.uber.org/atomic v1.3.2
- go.uber.org/multierr v1.1.0
- go.uber.org/zap v1.8.0