Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.9% on proxy.golang.org
Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 4.5% forks on proxy.golang.org
Top 0.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/go-logr/zapr

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 - Source - Documentation - JSON
purl: pkg:golang/github.com/go-logr/zapr
License: Apache-2.0
Latest release: 6 months ago
First release: almost 6 years ago
Namespace: github.com/go-logr
Dependent packages: 4,727
Dependent repositories: 17,692
Stars: 94 on GitHub
Forks: 24 on GitHub
Docker dependents: 2,448
Docker downloads: 6,569,279,675
See more repository details: repos.ecosyste.ms
Last synced: about 6 hours ago

    Loading...
    Readme
    Loading...