Versions in this module Expand all Collapse all v1 v1.0.2 Oct 2, 2020 Changes in this version + type InvalidOptionMessage struct + Message string + Option string + type Line struct + App string + Body string + Env string + Level string + Meta metaEnvelope + Timestamp int64 + type Logger struct + Options Options + func NewLogger(options Options, key string) (*Logger, error) + func (l *Logger) Close() + func (l *Logger) Critical(message string) + func (l *Logger) Debug(message string) + func (l *Logger) Error(message string) + func (l *Logger) Fatal(message string) + func (l *Logger) Info(message string) + func (l *Logger) Log(message string) + func (l *Logger) LogWithLevel(message string, level string) error + func (l *Logger) LogWithOptions(message string, options Options) error + func (l *Logger) Warn(message string) + type Message struct + Body string + Options Options + type Options struct + App string + Env string + FlushInterval time.Duration + Hostname string + IPAddress string + IndexMeta bool + IngestURL string + Level string + MacAddress string + MaxBufferLen int + Meta string + SendTimeout time.Duration + Tags string + Timestamp time.Time + type Payload struct + APIKey string + Hostname string + IPAddress string + Lines []Line + MacAddress string + Tags string