logrus_airbrake

package
v1.3.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2016 License: MIT, Apache-2.0 Imports: 2 Imported by: 0

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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL