Versions in this module Expand all Collapse all v0 v0.0.0 Sep 17, 2022 Changes in this version + var ConditionAnd = func(conditions ...Condition) Condition + var ConditionNotStatusBadRequest = func(res *http.Response, _ string) bool + var ConditionNotStatusNotFound = func(res *http.Response, _ string) bool + var ConditionNotStatusOk = func(res *http.Response, _ string) bool + var ConditionOr = func(conditions ...Condition) Condition + var SentryErrorHandler = func(res *http.Response, url string) error + func DefaultSentryErrorHandler() func(res *http.Response, url string) error + func GetSentryErrorHandler(conditions ...Condition) func(res *http.Response, url string) error + func SetupSentry(dsn string, opts ...Option) error + type Condition func(res *http.Response, url string) bool + type Option func(hook *logrus_sentry.SentryHook) error + func WithDefaultLoggerName(name string) Option + func WithEnvironment(env string) Option + func WithHTTPContext(h *raven.Http) Option + func WithIgnoreErrors(errs ...string) Option + func WithIncludePaths(p []string) Option + func WithRelease(release string) Option + func WithSampleRate(rate float32) Option + func WithServerName(serverName string) Option + func WithTagsContext(t map[string]string) Option + func WithUserContext(u *raven.User) Option