Versions in this module Expand all Collapse all v1 v1.0.0 Jun 26, 2020 Changes in this version + var ErrBufferFull error + var ErrNotRunning error + func AsyncHook(next logrus.Hook, opts ...AsyncOption) logrus.Hook + func RateLimitHook(next logrus.Hook, opts ...RateLimitOption) logrus.Hook + func RetryHook(next logrus.Hook, delay time.Duration, opts ...RetryOption) logrus.Hook + type AsyncOption func(conf *asyncParams) + func BoostSenders(n uint32) AsyncOption + func BufferLen(n uint32) AsyncOption + func Senders(n uint32) AsyncOption + type Chain interface + Next func() logrus.Hook + type ChainElement struct + func (el *ChainElement) Next() logrus.Hook + type ChainImpl struct + func (impl *ChainImpl) Levels() []logrus.Level + type RateLimitOption func(conf *rateLimit) + func Burst(n int) RateLimitOption + func PerSecond(n int) RateLimitOption + type RetryOption func(conf *backoff) + func FactorPct(n int64) RetryOption + func JitterPct(n int64) RetryOption + func Retries(n int) RetryOption + type RunningHook interface + IsRunning func() bool + Start func() error + Stop func() error