log

package
v4.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 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 DebugKV added in v4.0.5

func DebugKV(key string, value any)

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 ErrorKV added in v4.0.5

func ErrorKV(key string, value any)

func ErrorKVs

func ErrorKVs(fields ...kv.Field)

func Errorf

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

func Info

func Info(args ...interface{})

func InfoKV added in v4.0.5

func InfoKV(key string, value any)

func InfoKVs

func InfoKVs(fields ...kv.Field)

func Infof

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

func Panic

func Panic(args ...interface{})

func PanicKV added in v4.0.5

func PanicKV(key string, value any)

func PanicKVs

func PanicKVs(fields ...kv.Field)

func Panicf

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

func Print

func Print(args ...interface{})

func PrintKV added in v4.0.5

func PrintKV(key string, value any)

func PrintKVs

func PrintKVs(fields ...kv.Field)

func Printf

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

func Trace

func Trace(args ...interface{})

func TraceKV added in v4.0.5

func TraceKV(key string, value any)

func TraceKVs

func TraceKVs(fields ...kv.Field)

func Tracef

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

func Warn

func Warn(args ...interface{})

func WarnKV added in v4.0.5

func WarnKV(key string, value any)

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
JackTT - Gopher 🇻🇳