Documentation ¶
Overview ¶
Package bugsnaghandler provides Bugsnag integration.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is responsible for sending errors to Bugsnag.
func NewFromNotifier ¶
func NewFromNotifier(notifier *bugsnag.Notifier) *Handler
NewFromNotifier creates a new handler from an existing notifier instance.
Example ¶
apiKey := "key" _ = NewFromNotifier(bugsnag.New(bugsnag.Configuration{ APIKey: apiKey, }))
Output:
Click to show internal directories.
Click to hide internal directories.