Registry / logging / mozilla-services-go-mozlogrus

mozilla-services-go-mozlogrus

JSON →
library2.0.0+incompatiblegogounverified

Logrus hook for Mozilla's MozLog JSON logging format.

go get github.com/mozilla-services/go-mozlogrus
INSTALL
IMPORT
SIG · MOZILLA-SERVICES-G
M
mozilla-services-go-mozlogrus
logginggov2.0.0+incompatible
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.

mozlogrus
github.com/mozilla-services/go-mozlogrus

Add MozLog hook to logrus.

package main import ( "github.com/mozilla-services/go-mozlogrus" "github.com/sirupsen/logrus" ) func main() { logrus.AddHook(mozlogrus.NewHook()) logrus.Info("hello") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources
mozilla-services-go-mozlogrus — go get mozilla-services-go-mozlogrus · libregistry