Versions in this module Expand all Collapse all v0 v0.2.0 Nov 9, 2018 v0.1.0 Dec 17, 2017 Changes in this version + const DefaultIngestURL + func New(config Config, queueSize int) (logrus.Hook, error) + func NewFromConfig(config logrus_mate.Configuration) (logrus.Hook, error) + type Config struct + APIKey string + App string + BufferSize int + Env string + FlushEvery time.Duration + Hostname string + IP string + IngestURL string + LineJSON bool + MAC string + MayDrop bool + MessageFormatter logrus.Formatter + type Hook struct + Config *Config + func (hook *Hook) Close() error + func (hook *Hook) Fire(entry *logrus.Entry) error + func (hook *Hook) Flush() error + func (hook *Hook) Levels() []logrus.Level + type SimpleTextFormatter struct + DisableSorting bool + QuoteEmptyFields bool + func (f *SimpleTextFormatter) Format(entry *logrus.Entry) ([]byte, error)