logger

package
v0.0.0-...-bfbad84 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = &logrus.Logger{
	Out: os.Stderr,
	Formatter: &logrus.TextFormatter{
		FullTimestamp:   true,
		TimestampFormat: "Mon Jan 2 15:04:05 MST 2006",
	},
	Hooks: make(logrus.LevelHooks),
	Level: logrus.DebugLevel,
}

Functions

func Debug

func Debug(args ...interface{})

func DebugFn

func DebugFn(fn logrus.LogFunction)

func Debugf

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

func Debugln

func Debugln(args ...interface{})

func Error

func Error(args ...interface{})

func ErrorFn

func ErrorFn(fn logrus.LogFunction)

func Errorf

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

func Errorln

func Errorln(args ...interface{})

func Fatal

func Fatal(args ...interface{})

func FatalFn

func FatalFn(fn logrus.LogFunction)

func Fatalf

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

func Fatalln

func Fatalln(args ...interface{})

func Info

func Info(args ...interface{})

func Infof

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

func Infofn

func Infofn(fn logrus.LogFunction)

func Infoln

func Infoln(args ...interface{})

func Log

func Log(level logrus.Level, args ...interface{})

func LogFn

func LogFn(level logrus.Level, fn logrus.LogFunction)

func Logf

func Logf(level logrus.Level, format string, args ...interface{})

func Logln

func Logln(level logrus.Level, args ...interface{})

func Panic

func Panic(args ...interface{})

func PanicFn

func PanicFn(fn logrus.LogFunction)

func Panicf

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

func Panicln

func Panicln(args ...interface{})

func Print

func Print(args ...interface{})

func PrintFn

func PrintFn(fn logrus.LogFunction)

func Printf

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

func Println

func Println(args ...interface{})

func Warn

func Warn(args ...interface{})

func WarnFn

func WarnFn(fn logrus.LogFunction)

func Warnf

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

func Warning

func Warning(args ...interface{})

func WarningFn

func WarningFn(fn logrus.LogFunction)

func Warningf

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

func Warningln

func Warningln(args ...interface{})

func Warnln

func Warnln(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