Versions in this module Expand all Collapse all v1 v1.4.1 Feb 9, 2021 v1.4.0 Sep 13, 2019 Changes in this version + func ContextProg(ctx context.Context) string + func ContextWithProg(ctx context.Context, prog string) context.Context + type LogMessage struct + Host string + KV map[string]interface{} + Message interface{} + Prog string + StartTimestamp *time.Time + Timestamp time.Time + Type string + func (msg *LogMessage) MarshalJSON() ([]byte, error) + func (msg *LogMessage) ToMap() map[string]interface{} + type NewOutputFunc func(url.Values, string) (OutputWriter, error) + type OutputWriter interface + Close func() error + WriteMessage func(ctx context.Context, message LogMessage) + func NewQueuedWriter(w OutputWriter) OutputWriter