sentry

package
v0.0.0-...-235c51f Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureErrorPacketAndWait

func CaptureErrorPacketAndWait(message string, err error, modifyPacketBeforeSend func(p *raven.Packet), sentryTags map[string]string)

CaptureErrorPacketAndWait will capture an error with stack trace and allow modification of the Packet before sending

func GetClient

func GetClient() *raven.Client

GetClient returns the singleton sentry/raven instance

func InitClient

func InitClient(dsn string, tags map[string]string)

InitClient creates the sentry/raven singleton

func NewLogHandler

func NewLogHandler(client *raven.Client, logLevel apex.Level) apex.Handler

NewLogHandler returns a new logger that logs to sentry

Types

This section is empty.

Jump to

Keyboard shortcuts

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