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.