common

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log *logrus.Logger
)

Functions

func AllPids added in v1.7.1

func AllPids(procRoot string) ([]int, error)

func Assert added in v0.11.0

func Assert(test bool)

Assert test is true, panic otherwise

func CheckFatal added in v0.10.0

func CheckFatal(e error)

func CheckWarn added in v0.10.0

func CheckWarn(e error)

func ErrorMessages added in v1.1.0

func ErrorMessages(errors []error) string

func LogLogger added in v1.5.0

func LogLogger() *log.Logger

func LoggingHTTPHandler added in v1.6.0

func LoggingHTTPHandler(h http.Handler) http.Handler

func SetLogLevel added in v1.1.0

func SetLogLevel(levelname string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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