Registry / logging / zapconfig

zapconfig

JSON →
library1.4.0gogounverified

Provides configuration helpers for the Zap logging library, simplifying setup and customization.

go get moul.io/zapconfig
INSTALL
IMPORT
SIG · ZAPCONFIG
Z
zapconfig
logginggov1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

zapconfig
moul.io/zapconfig

Creates a configured Zap logger.

package main import ( "go.uber.org/zap" "moul.io/zapconfig" ) func main() { logger, err := zapconfig.New().Build() if err != nil { panic(err) } defer logger.Sync() logger.Info("Hello, world!") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
38
Resources
zapconfig — go get zapconfig · libregistry