sentry

package
v0.0.0-...-958ca12 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) log.Sink

Types

type Option

type Option func(c *Sink)

func WithHub

func WithHub(hub *sentry.Hub) Option

func WithLevel

func WithLevel(min level.Level) Option

type Sink

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

func (*Sink) SetMinLevel

func (s *Sink) SetMinLevel(min level.Level)

func (*Sink) Sync

func (s *Sink) Sync()

func (*Sink) Write

func (s *Sink) Write(entry *log.Entry)

Jump to

Keyboard shortcuts

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