isologger

package
v7.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

View Source
const RFC3339Milli = "2006-01-02T15:04:05.000Z07:00" // RFC3339 with 3 decimal places, padded

Variables

This section is empty.

Functions

func SetOutput

func SetOutput(logger *log.Logger, w io.Writer, format string)

Configure the logger to emit formatted timestamps to the given writer. The format string must always produce output that is no longer than the format string itself, otherwise behavior is undefined. If logger is nil, then the default logger is updated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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