lg

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// L the zap logger
	L *zap.Logger
)

Functions

func InitLogger

func InitLogger(debug, nostd bool, logPath string)

InitLogger must be first to be called. "debug" defines whether to use debug level. "nostd" if true, log will not write to stderr. "logPath" to add a log file destination. If "", will not log to file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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