sentry

package
v0.0.0-...-28d44df Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flush

func Flush(timeout time.Duration)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(logger *slog.Logger) *Client

func (*Client) Breadcrumb

func (c *Client) Breadcrumb(ctx context.Context, desc string, level slog.Level)

func (*Client) CaptureErr

func (c *Client) CaptureErr(ctx context.Context, err error, attachment ...string) *sentry.EventID

CaptureErr reports an error to Sentry.

func (*Client) NewContext

func (c *Client) NewContext(parent context.Context, task string) context.Context

func (*Client) Start

func (c *Client) Start(release string, dsn string) error

Jump to

Keyboard shortcuts

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