sentry

package
v3.29.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sentry implements a pkg/log.Handler that sends errors to Sentry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() log.Middleware

New creates a new Sentry log middleware.

Types

type Sentry

type Sentry struct{}

Sentry is a log.Handler that sends errors to Sentry.

func (*Sentry) Wrap

func (s *Sentry) Wrap(next log.Handler) log.Handler

Wrap an existing log handler with Sentry.

Jump to

Keyboard shortcuts

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