Registry / logging / seatgeek-logrus-gelf-formatter

seatgeek-logrus-gelf-formatter

JSON →
library0.0.0-20210414080842-5b05eb8ff761gogounverified

A Logrus formatter that outputs log entries in GELF (Graylog Extended Log Format) for integration with Graylog.

go get github.com/seatgeek/logrus-gelf-formatter
INSTALL
IMPORT
SIG · SEATGEEK-LOGRUS-GE
S
seatgeek-logrus-gelf-formatter
logginggov0.0.0-20210414080842-5b05eb8ff761
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.

gelf
github.com/seatgeek/logrus-gelf-formatter

Configures Logrus to use GELF formatting.

package main import ( "github.com/sirupsen/logrus" gelf "github.com/seatgeek/logrus-gelf-formatter" ) func main() { logrus.SetFormatter(&gelf.GelfFormatter{}) logrus.Info("hello") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210414080842-5b05eb8ff761latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Resources
seatgeek-logrus-gelf-formatter — go get seatgeek-logrus-gelf-formatter · libregistry