sentry

package
v0.0.366-pre-1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package sentry implements sentry-related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureException added in v0.0.286

func CaptureException(err error, opts ...CaptureOption)

func CaptureMessage added in v0.0.286

func CaptureMessage(msg string, opts ...CaptureOption)

func Flush added in v0.0.287

func Flush()

func Recover

func Recover(v interface{})

Recover records the given panic to sentry.

Types

type CaptureOption added in v0.0.286

type CaptureOption func(scope *sentry.Scope)

func WithContext added in v0.0.286

func WithContext(key string, val interface{}) CaptureOption

func WithContexts added in v0.0.286

func WithContexts(contexts map[string]interface{}) CaptureOption

func WithExtra added in v0.0.288

func WithExtra(key string, val interface{}) CaptureOption

func WithTag added in v0.0.286

func WithTag(key, value string) CaptureOption

Jump to

Keyboard shortcuts

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