Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AirbrakeHook ¶
type AirbrakeHook struct{}
AirbrakeHook to send exceptions to an exception-tracking service compatible with the Airbrake API. You must set: * airbrake.Endpoint * airbrake.ApiKey * airbrake.Environment (only sends exceptions when set to "production")
Before using this hook, to send exceptions. Entries that trigger an Error, Fatal or Panic should now include an "Error" field to send to Airbrake.
func (*AirbrakeHook) Levels ¶
func (hook *AirbrakeHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.