Versions in this module Expand all Collapse all v0 v0.3.3 Feb 27, 2024 v0.3.2 Feb 21, 2024 Changes in this version + var ErrInvalidConfiguration = errors.New("invalid configuration") + func NewLogger() *zap.SugaredLogger + type Config struct + AttachStacktrace bool + DSN string + Debug bool + EnableTracing bool + Enabled bool + Environment string + ProfilesSampleRate float64 + Repanic bool + SampleRate float64 + ServerName string + TracesSampleRate float64 + TracesSampler float64 + func (c Config) ClientOptions() sentry.ClientOptions + func (c Config) UsePerformanceTracking() bool + func (c Config) UseSentry() bool + func (c Config) Validate() error + type SentryZapCore struct + func (s *SentryZapCore) Check(entry zapcore.Entry, checkedEntry *zapcore.CheckedEntry) *zapcore.CheckedEntry + func (s *SentryZapCore) Enabled(level zapcore.Level) bool + func (s *SentryZapCore) Sync() error + func (s *SentryZapCore) With(fields []zapcore.Field) zapcore.Core + func (s *SentryZapCore) Write(entry zapcore.Entry, fields []zapcore.Field) error