Registry / logging / shopify-logrus-bugsnag

shopify-logrus-bugsnag

JSON →
library0.0.0-20230814024721-81546a0197a8gogounverified

Package logrus-bugsnag provides a Logrus hook for sending errors to Bugsnag.

go get github.com/Shopify/logrus-bugsnag
INSTALL
IMPORT
SIG · SHOPIFY-LOGRUS-BUG
S
shopify-logrus-bugsnag
logginggov0.0.0-20230814024721-81546a0197a8
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_bugsnag
github.com/Shopify/logrus-bugsnag

Send Logrus log entries to Bugsnag

package main import ( "github.com/Shopify/logrus-bugsnag" "github.com/sirupsen/logrus" ) func main() { hook, err := logrus_bugsnag.NewBugsnagHook("your-api-key", "production", nil) if err != nil { panic(err) } logrus.AddHook(hook) logrus.Error("Something went wrong") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230814024721-81546a0197a8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources
shopify-logrus-bugsnag — go get shopify-logrus-bugsnag · libregistry