Registry / logging / banzaicloud-logrus-runtime-formatter

banzaicloud-logrus-runtime-formatter

JSON →
library0.0.0-20190729070250-5ae5475bae5egogounverified

A Logrus formatter that adds runtime information like file and line number.

go get github.com/banzaicloud/logrus-runtime-formatter
INSTALL
IMPORT
SIG · BANZAICLOUD-LOGRUS
B
banzaicloud-logrus-runtime-formatter
logginggov0.0.0-20190729070250-5ae5475bae5e
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.

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.

Agent activity
36 hits · last 30 days
node
30
Amazon
1
OpenAI (training)
1
Resources
banzaicloud-logrus-runtime-formatter — go get banzaicloud-logrus-runtime-formatter · libregistry