sentryhook

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 2 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook struct {
	// contains filtered or unexported fields
}

func New

func New(levels []logrus.Level) Hook

func NewWithScope

func NewWithScope(levels []logrus.Level, ws WithScope) Hook

func (Hook) Fire

func (hook Hook) Fire(entry *logrus.Entry) error

func (Hook) Levels

func (hook Hook) Levels() []logrus.Level

type WithScope

type WithScope func(entry *logrus.Entry) func(s *sentry.Scope)

Jump to

Keyboard shortcuts

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