Documentation ¶
Index ¶
- type Hook
- 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)
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) SetFlushTimeout ¶
func (*Hook) SetRelease ¶
Click to show internal directories.
Click to hide internal directories.