log

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Error = iota
	Warning
	Info
	Debug
	Trace
)

Variables

View Source
var (
	Level = Info
)

Functions

func AddFlags added in v0.4.38

func AddFlags(flags *pflag.FlagSet)

func Configure added in v0.4.38

func Configure()

func Debugf

func Debugf(template string, args ...interface{})

func DeferUntilConfigured added in v0.5.35

func DeferUntilConfigured()

func Errorf

func Errorf(template string, args ...interface{})

func Infof

func Infof(template string, args ...interface{})

func Log

func Log(level int, template string, args ...interface{})

func Tracef added in v0.5.27

func Tracef(template string, args ...interface{})

func Warnf

func Warnf(template string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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