Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LevelMap = map[logrus.Level]sentry.Level{ logrus.TraceLevel: sentry.LevelDebug, logrus.DebugLevel: sentry.LevelDebug, logrus.InfoLevel: sentry.LevelInfo, logrus.WarnLevel: sentry.LevelWarning, logrus.ErrorLevel: sentry.LevelError, logrus.FatalLevel: sentry.LevelFatal, logrus.PanicLevel: sentry.LevelFatal, } )
Functions ¶
func DefaultCaptureLog ¶
Types ¶
type CaptureLog ¶
type IsNotInAppFrameIntegration ¶
type IsNotInAppFrameIntegration struct{}
func (*IsNotInAppFrameIntegration) Name ¶
func (sentrusIntegration *IsNotInAppFrameIntegration) Name() string
func (*IsNotInAppFrameIntegration) SetupOnce ¶
func (sentrusIntegration *IsNotInAppFrameIntegration) SetupOnce(client *sentry.Client)
type Option ¶
type Option func(h *Hook)
func WithCustomCaptureLog ¶
func WithCustomCaptureLog(captureLog CaptureLog) Option
func WithCustomHub ¶
func WithCustomHub(hub *sentry.Hub) Option
Click to show internal directories.
Click to hide internal directories.