Registry /
logging / banzaicloud-logrus-runtime-formatter
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.
logrus_runtime_formatter
✓ github.com/banzaicloud/logrus-runtime-formatter
Set up Logrus with runtime formatter.
package main
import (
"github.com/banzaicloud/logrus-runtime-formatter"
"github.com/sirupsen/logrus"
)
func main() {
formatter := logrus_runtime_formatter.Formatter{}
logrus.SetFormatter(&formatter)
logrus.Info("Hello, world!")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20190729070250-5ae5475bae5elatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.