Registry / logging / tv4-logrus-stackdriver-formatter

tv4-logrus-stackdriver-formatter

JSON →
library0.1.0gogounverified

A Logrus formatter for Stackdriver logging.

go get github.com/TV4/logrus-stackdriver-formatter
INSTALL
IMPORT
SIG · TV4-LOGRUS-STACKDR
T
tv4-logrus-stackdriver-formatter
logginggov0.1.0
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.

stackdriver
github.com/TV4/logrus-stackdriver-formatter

Configures Logrus to use the Stackdriver formatter.

package main import ( "github.com/TV4/logrus-stackdriver-formatter" "github.com/sirupsen/logrus" ) func main() { logrus.SetFormatter(&stackdriver.Formatter{}) logrus.Info("Hello, Stackdriver!") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
46
Resources
tv4-logrus-stackdriver-formatter — go get tv4-logrus-stackdriver-formatter · libregistry