package
1.5.3
Repository: https://github.com/dms3-fs/go-log.git
Documentation: pkg.go.dev

# Functions

Configure applies the provided options sequentially from left to right.
NewMirrorWriter initializes and returns a MirrorWriter.
Output returns an option which sets the the given writer as the new logging backend.

# Variables

LdJSONFormatter Option formats the event log as line-delimited JSON.
LevelDebug Option sets the log level to debug.
LevelError Option sets the log level to error.
LevelInfo Option sets the log level to info.
MaxWriterBuffer specifies how big the writer buffer can get before killing the writer.
TextFormatter Option formats the event log as human-readable plain-text.
WriterGroup is the global writer group for logs to output to.

# Structs

MirrorWriter implements a WriteCloser which syncs incoming bytes to multiple [buffered] WriteClosers.
PoliteJSONFormatter marshals entries into JSON encoded slices (without overwriting user-provided keys).

# Type aliases

Option is a generic function.