Documentation ¶ Index ¶ type Option func Level(lvl logging.Level) Option type Writer func New(w io.Writer, opts ...Option) *Writer func (w *Writer) Write(e logging.Entry) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Option ¶ type Option func(w *Writer) Option for the simple Writer func Level ¶ func Level(lvl logging.Level) Option Level will apply the logging level to the writer for output verbosity type Writer ¶ type Writer struct { // contains filtered or unexported fields } Writer is a simple logging.Writer implementation func New ¶ func New(w io.Writer, opts ...Option) *Writer New creates a new Writer to output the specified io.Writer with the provided Options This is a super simple implementation (hence the name) that will output in the following format: > [<timestamp>] <level> <message> <field.Key=field.Value>... func (*Writer) Write ¶ func (w *Writer) Write(e logging.Entry) Source Files ¶ View all Source files writer.go Click to show internal directories. Click to hide internal directories.