log

package
v4.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = logger.New(
	logger.WithSafeOutput(os.Stderr),
	logger.WithLevel(logger.ALL),
	logger.WithTimestamp(true),
	logger.WithCaller(false),
)

Functions

func Debug

func Debug(args ...interface{})

func DebugKVs

func DebugKVs(fields ...kv.Field)

func Debugf

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

func Entry

func Entry() logger.Entry

func Error

func Error(args ...interface{})

func ErrorKVs

func ErrorKVs(fields ...kv.Field)

func Errorf

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

func Info

func Info(args ...interface{})

func InfoKVs

func InfoKVs(fields ...kv.Field)

func Infof

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

func Output

func Output(calldepth int, lvl logger.LEVEL, msg string)

func Panic

func Panic(args ...interface{})

func PanicKVs

func PanicKVs(fields ...kv.Field)

func Panicf

func Panicf(format string, args ...interface{})

func Print

func Print(args ...interface{})

func PrintKVs

func PrintKVs(fields ...kv.Field)

func Printf

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

func Trace

func Trace(args ...interface{})

func TraceKVs

func TraceKVs(fields ...kv.Field)

func Tracef

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

func Warn

func Warn(args ...interface{})

func WarnKVs

func WarnKVs(fields ...kv.Field)

func Warnf

func Warnf(format 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