sentry

package
v0.0.0-...-e2755d2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSentry

func InitSentry(conf *Config, environ string) (zapcore.Core, error)

InitSentry initializes Sentry client and returns a Hook top be used by the logger

func MockHook

func MockHook(log zapcore.Entry) error

MockHook is a No-op action

Types

type Config

type Config struct {
	AppName    string
	DSN        string
	Mock       bool
	ErrorLevel int8
}

Config holds sentry config

Jump to

Keyboard shortcuts

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