Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2019 Changes in this version + type ExecCloser interface + Close func() error + Exec func(entry *logrus.Entry) error + type FilterHandle func(*logrus.Entry) *logrus.Entry + type Hook struct + func New(exec ExecCloser, opt ...Option) *Hook + func (h *Hook) Fire(entry *logrus.Entry) error + func (h *Hook) Flush() + func (h *Hook) Levels() []logrus.Level + type Option func(*options) + func SetExtra(extra map[string]interface{}) Option + func SetFilter(filter FilterHandle) Option + func SetLevels(levels ...logrus.Level) Option + func SetMaxQueues(maxQueues int) Option + func SetMaxWorkers(maxWorkers int) Option