Documentation ¶
Index ¶
- type LoggingIntegration
- type Sentry
- func (s Sentry) CaptureException(err error, tags map[string]string)
- func (s Sentry) CaptureMessage(msg string, tags map[string]string)
- func (s Sentry) Flush(timeout time.Duration)
- func (s Sentry) Middleware(next http.Handler) http.Handler
- func (s Sentry) Recover(ctx context.Context, cause interface{})
- func (s Sentry) StartSpan(ctx context.Context, name string) (context.Context, monitor.Span)
- type SentryScope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingIntegration ¶
type LoggingIntegration struct { SupressErrors bool Logger interface { Printf(format string, a ...interface{}) (n int, err error) } }
func (LoggingIntegration) Name ¶
func (sli LoggingIntegration) Name() string
func (LoggingIntegration) SetupOnce ¶
func (sli LoggingIntegration) SetupOnce(client *sentry.Client)
type SentryScope ¶
type SentryScope struct {
// contains filtered or unexported fields
}
func (SentryScope) SetTag ¶
func (s SentryScope) SetTag(key, value string)
func (SentryScope) SetUser ¶
func (s SentryScope) SetUser(id, username, email string)
Click to show internal directories.
Click to hide internal directories.