Versions in this module Expand all Collapse all v0 v0.9.1 Sep 15, 2021 Changes in this version + type Hook struct + func NewHook(options Options, levels ...logrus.Level) (*Hook, error) + func NewHookWithClient(client *sentry.Client, levels ...logrus.Level) (*Hook, error) + func (hook *Hook) AddTag(key, value string) + func (hook *Hook) Fire(entry *logrus.Entry) error + func (hook *Hook) Flush() + func (hook *Hook) Levels() []logrus.Level + func (hook *Hook) SetEnvironment(environment string) + func (hook *Hook) SetFlushTimeout(timeout time.Duration) + func (hook *Hook) SetPrefix(prefix string) + func (hook *Hook) SetRelease(release string) + func (hook *Hook) SetTags(tags map[string]string) + type Options sentry.ClientOptions