log

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Out represents the writer to print the log messages to. This is used for tests.

Functions

func Debug

func Debug(a ...interface{})

func Debugf

func Debugf(format string, a ...interface{})

func Debugln

func Debugln(a ...interface{})

func Error

func Error(a ...interface{})

func Errorf

func Errorf(format string, a ...interface{})

func Errorln

func Errorln(a ...interface{})

func Info

func Info(a ...interface{})

func Infof

func Infof(format string, a ...interface{})

func Infoln

func Infoln(a ...interface{})

func Infor

func Infor(format string, a ...interface{})

func SetLevel added in v0.4.0

func SetLevel(l Level)

func Warning

func Warning(a ...interface{})

func Warningf

func Warningf(format string, a ...interface{})

func Warningln

func Warningln(a ...interface{})

Types

type Level added in v0.4.0

type Level uint8
const (
	DebugLevel Level = iota
	InfoLevel
	WarningLevel
	ErrorLevel
)

Jump to

Keyboard shortcuts

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