Documentation ¶
Index ¶
- type Hook
- func (hook *Hook) AddTag(key, value string)
- func (hook *Hook) Fire(entry *logrus.Entry) error
- func (hook *Hook) Flush(timeout time.Duration)
- func (hook *Hook) Levels() []logrus.Level
- func (hook *Hook) SetEnvironment(environment string)
- func (hook *Hook) SetPrefix(prefix string)
- func (hook *Hook) SetRelease(release string)
- func (hook *Hook) SetTags(tags map[string]string)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct {
// contains filtered or unexported fields
}
func (*Hook) SetEnvironment ¶
func (*Hook) SetRelease ¶
Click to show internal directories.
Click to hide internal directories.