package logrus_airbrake
import "github.com/sirupsen/logrus/hooks/airbrake"
Index ¶
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
Before using this hook, to send an error. Entries that trigger an Error, Fatal or Panic should now include an "error" field to send to Airbrake.
func (*AirbrakeHook) Fire ¶
func (hook *AirbrakeHook) Fire(entry *logrus.Entry) error
func (*AirbrakeHook) Levels ¶
func (hook *AirbrakeHook) Levels() []logrus.Level
Source Files ¶
- Version
- v0.6.6
- Published
- Mar 9, 2015
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 4 hours ago –
Tools for package owners.