Versions in this module Expand all Collapse all v1 v1.0.1 Sep 28, 2023 Changes in this version + type EventHintCallback func(event *sentry.Event, hint *sentry.EventHint) *sentry.Event + type Writer struct + func New(dsn string, opts ...WriterOption) (*Writer, error) + func (w *Writer) Close() error + func (w *Writer) Write(data []byte) (n int, err error) + func (w *Writer) WriteLevel(level zerolog.Level, p []byte) (n int, err error) + type WriterOption interface + func WithBeforeSend(beforeSend sentry.EventProcessor) WriterOption + func WithCaCerts(caCerts *x509.CertPool) WriterOption + func WithDebug() WriterOption + func WithDebugWriter(w io.Writer) WriterOption + func WithEnvironment(environment string) WriterOption + func WithHttpProxy(proxy string) WriterOption + func WithHttpsProxy(proxy string) WriterOption + func WithIgnoreErrors(reList []string) WriterOption + func WithLevels(levels ...zerolog.Level) WriterOption + func WithRelease(release string) WriterOption + func WithSampleRate(rate float64) WriterOption + func WithServerName(serverName string) WriterOption + func WithTracing() WriterOption + func WithTracingSampleRate(tsr float64) WriterOption