Registry /
logging / mozilla-services-go-mozlogrus
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.