log

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = logger.NewWith(
	os.Stderr,
	logger.ALL,
	false,
	true,
)

Logger is the global logger instance.

Functions

func Debug

func Debug(a ...interface{})

func DebugKVs

func DebugKVs(fields ...kv.Field)

func Debugf

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

func Error

func Error(a ...interface{})

func ErrorKVs

func ErrorKVs(fields ...kv.Field)

func Errorf

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

func Fatal

func Fatal(a ...interface{})

func FatalKVs

func FatalKVs(fields ...kv.Field)

func Fatalf

func Fatalf(s string, a ...interface{})

func Info

func Info(a ...interface{})

func InfoKVs

func InfoKVs(fields ...kv.Field)

func Infof

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

func Log

func Log(calldepth int, lvl logger.LEVEL, a ...interface{})

func LogKVs

func LogKVs(calldepth int, lvl logger.LEVEL, fields ...kv.Field)

func Logf

func Logf(calldepth int, lvl logger.LEVEL, s string, a ...interface{})

func Panic

func Panic(a ...interface{})

func PanicKVs

func PanicKVs(fields ...kv.Field)

func Panicf

func Panicf(s string, a ...interface{})

func Print

func Print(a ...interface{})

func PrintKVs

func PrintKVs(fields ...kv.Field)

func Printf

func Printf(s string, a ...interface{})

func SetOutput

func SetOutput(out io.Writer)

func Trace

func Trace(a ...interface{})

func TraceKVs

func TraceKVs(fields ...kv.Field)

func Tracef

func Tracef(s string, a ...interface{})

func Warn

func Warn(a ...interface{})

func WarnKVs

func WarnKVs(fields ...kv.Field)

func Warnf

func Warnf(s string, a ...interface{})

func Writer

func Writer() 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