log

package
v0.0.0-...-aefca9b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogRedirectStdOutToFile

func LogRedirectStdOutToFile(logPath string)

If there are any existing fd's (e.g. we're reopening logs), we rely on garbage collection to clean them up for us.

func Reopen

func Reopen()

Types

type Logger

type Logger struct {
	*logging.Logger
}
var (
	Log *Logger
)

func Open

func Open(name, logLevelStr string, prio syslog.Priority) *Logger

Jump to

Keyboard shortcuts

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