lg

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoggingOff = iota
	LevelError
	LevelWarn
	LevelInfo
	LevelDebug
	LevelTrace
)

Variables

This section is empty.

Functions

func Debugf

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

func EnabledFor

func EnabledFor(priority int) bool

func Errorf

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

func Infof

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

func Printf

func Printf(format string, v ...interface{})

Printf writes to configured output regardless of the configured log priority. Note that if the log priority is set to LoggingOff this output WILL BE suppressed.

func SetLevel

func SetLevel(priority int) error

func Tracef

func Tracef(format string, v ...interface{})

func Warnf

func Warnf(format string, v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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