zapsentry

package
v0.0.0-...-f89f072 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCore

func NewCore(sClient *sentry.Client, logLevel zapcore.Level, flushTimeout time.Duration, tags map[string]string, disableStacktrace bool) (zapcore.Core, error)

func NewSentryClient

func NewSentryClient(dsn string) (*sentry.Client, error)

Types

type ZapSentryConfig

type ZapSentryConfig struct {
	Tags              map[string]string
	DisableStacktrace bool
	SentryLevel       zapcore.Level
	FlushTimeout      time.Duration
	SentryHub         *sentry.Hub
}

Jump to

Keyboard shortcuts

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