Versions in this module Expand all Collapse all v0 v0.7.4 May 29, 2018 Changes in this version + func ConfigureEarlyLogging() + func ConfigureLogging(configParams *config.Config) + func FormatForSyslog(entry *log.Entry) string + type BackgroundHook struct + func NewBackgroundHook(levels []log.Level, syslogLevel log.Level, destinations []*Destination) *BackgroundHook + func (h *BackgroundHook) Fire(entry *log.Entry) (err error) + func (h *BackgroundHook) Levels() []log.Level + func (h *BackgroundHook) Start() + type ContextHook struct + func (hook ContextHook) Fire(entry *log.Entry) error + func (hook ContextHook) Levels() []log.Level + type Destination struct + Level log.Level + func NewStreamDestination(level log.Level, writer io.Writer, c chan QueuedLog, disableLogDropping bool) *Destination + func NewSyslogDestination(level log.Level, writer syslogWriter, c chan QueuedLog, ...) *Destination + func (d *Destination) Close() + func (d *Destination) LoopWritingLogs() + func (d *Destination) Send(ql QueuedLog) (ok bool) + type Formatter struct + func (f *Formatter) Format(entry *log.Entry) ([]byte, error) + type NullWriter struct + func (w *NullWriter) Write(p []byte) (int, error) + type QueuedLog struct + Level log.Level + Message []byte + NumSkippedLogs uint + SyslogMessage string + WaitGroup *sync.WaitGroup + func (ql QueuedLog) OnLogDone()