error_capture

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureErrorToSentry

func CaptureErrorToSentry(level sentry.Level, userId, userName, errTile string, v ...interface{})

func Error

func Error(userId, userName, f string, v ...interface{})

func InitBugsnag

func InitBugsnag(bugsnagVersion BugsnagVersion, serviceName, playId string)

func InitSentry

func InitSentry(dsn, serviceVersion, serviceName, release, playId string) error

Types

type BugsnagVersion

type BugsnagVersion string
const (
	BUGSNAG_VERSION_BETA    BugsnagVersion = "beta"
	BUGSNAG_VERSION_READY   BugsnagVersion = "ready"
	BUGSNAG_VERSION_RELEASE BugsnagVersion = "release"
)

Jump to

Keyboard shortcuts

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