Documentation
¶
Index ¶
- func ActiveHub(ctx context.Context) *sentry.Hub
- func AddBreadcrumb(ctx context.Context, breadcrumb *sentry.Breadcrumb)
- func AddBreadcrumbToScope(scope *sentry.Scope, breadcrumb *sentry.Breadcrumb)
- func AddTextBreadcrumb(ctx context.Context, message string)
- func AddTextBreadcrumbToScope(scope *sentry.Scope, message string)
- func CaptureError(ctx context.Context, err error, msg string, opts ...func(event *sentry.Event))
- func CaptureWarning(ctx context.Context, err error, msg string, opts ...func(event *sentry.Event))
- func CloseSentry()
- func InitializeSentry()
- func NewScope(ctx context.Context) (scope *sentry.Scope, done func())
- func NewSpan(ctx context.Context, funcName string) (*sentry.Span, context.Context)
- func NewSpanForCallingFunc(ctx context.Context) (*sentry.Span, context.Context)
- func NewSpanForCurrentFunc(ctx context.Context) (*sentry.Span, context.Context)
- func Recover(ctx context.Context, r any)
- func WithData(key string, value any) func(event *sentry.Event)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBreadcrumb ¶
func AddBreadcrumbToScope ¶
func AddBreadcrumbToScope(scope *sentry.Scope, breadcrumb *sentry.Breadcrumb)
func AddTextBreadcrumb ¶
func AddTextBreadcrumbToScope ¶
func AddTextBreadcrumbToScope(scope *sentry.Scope, message string)
func CaptureError ¶
func CaptureWarning ¶
func CloseSentry ¶
func CloseSentry()
func InitializeSentry ¶
func InitializeSentry()
func NewSpanForCallingFunc ¶
func NewSpanForCurrentFunc ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.