common

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2015 License: Apache-2.0 Imports: 9 Imported by: 211

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug   *log.Logger
	Info    *log.Logger
	Warning *log.Logger
	Error   *log.Logger
)

Functions

func AssertErrorInterface

func AssertErrorInterface(t *testing.T, got interface{}, wanted interface{}, desc string)

func AssertErrorType

func AssertErrorType(t *testing.T, got interface{}, wanted interface{}, desc string)

func AssertNoErr

func AssertNoErr(t *testing.T, err error)

func AssertStatus

func AssertStatus(t *testing.T, got int, wanted int, desc string)

func CallSite

func CallSite() string

func InitDefaultLogging

func InitDefaultLogging(debug bool)

func InitLogging

func InitLogging(debugHandle io.Writer,
	infoHandle io.Writer,
	warningHandle io.Writer,
	errorHandle io.Writer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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