stdlogger

package
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(out io.Writer, timeFormat string) error

Setup sets up the standard logger.

Types

type ConsoleWriter

type ConsoleWriter struct {
	// contains filtered or unexported fields
}

ConsoleWriter writes to the console.

func (*ConsoleWriter) Write

func (c *ConsoleWriter) Write(p []byte) (n int, err error)

Write mimics zerolog.ConsolWrite Output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL