Versions in this module Expand all Collapse all v1 v1.0.0 Feb 10, 2017 Changes in this version + const DefaultBufferCount + const DefaultBufferInterval + const DefaultForceFlushField + const DefaultUserAgent + const LogzioDefaultURL + const Version + type Hook struct + func NewHook(options HookOptions) (*Hook, error) + func (hook *Hook) Fire(entry *logrus.Entry) error + func (hook *Hook) Flush() error + func (hook *Hook) Levels() []logrus.Level + func (hook *Hook) Shutdown() error + type HookOptions struct + App string + BufferCount int + BufferInterval time.Duration + Client *http.Client + Context logrus.Fields + ForceFlushField string + ForceFlushLevel logrus.Level + Token string + URL string + UserAgent string