Registry / logging / sykesm-zap-logfmt

sykesm-zap-logfmt

JSON →
library0.0.4gogounverified

A zap encoder that formats log entries in logfmt format.

go get github.com/sykesm/zap-logfmt
INSTALL
IMPORT
SIG · SYKESM-ZAP-LOGFMT
S
sykesm-zap-logfmt
logginggov0.0.4
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.

zaplogfmt
github.com/sykesm/zap-logfmt

Create a zap logger with logfmt encoding.

package main import ( "go.uber.org/zap" zaplogfmt "github.com/sykesm/zap-logfmt" ) func main() { cfg := zap.NewProductionConfig() cfg.EncoderConfig = zaplogfmt.EncoderConfig logger, _ := cfg.Build() logger.Info("hello") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources
sykesm-zap-logfmt — go get sykesm-zap-logfmt · libregistry