Versions in this module Expand all Collapse all v1 v1.1.1 May 11, 2018 v1.1.0 Dec 24, 2017 Changes in this version type Opts + TimestampLocale *time.Location v1.0.1 Jul 18, 2017 v1.0.0 Feb 17, 2017 Changes in this version + var DefaultLevelColors = LevelColors + func LevelThreshold(l logrus.Level) []logrus.Level + type Hook struct + MinLevel logrus.Level + Opts *Opts + WebhookURL string + func NewHook(webhookURL string, minLevel logrus.Level, opts *Opts) *Hook + func (hook *Hook) Fire(entry *logrus.Entry) error + func (hook *Hook) Levels() []logrus.Level + type LevelColors struct + Debug int + Error int + Fatal int + Info int + Panic int + Warn int + func (lc LevelColors) LevelColor(l logrus.Level) int + type Opts struct + Author string + CustomLevelColors *LevelColors + DisableInlineFields bool + DisableTimestamp bool + EnableCustomColors bool + TimestampFormat string + Username string