logger

package
v0.0.0-...-f17293a Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILogger

type ILogger interface {
	Debugf(format string, args ...interface{})

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

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

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

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

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

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

	Debug(args ...interface{})

	Info(args ...interface{})

	Print(args ...interface{})

	Warn(args ...interface{})

	Error(args ...interface{})

	Fatal(args ...interface{})

	Panic(args ...interface{})
}

type Level

type Level = logrus.Level

type Logger

type Logger struct{}

func GetLogger

func GetLogger() *Logger

func (*Logger) Debug

func (*Logger) Debug(args ...interface{})

func (*Logger) Debugf

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

func (*Logger) Error

func (*Logger) Error(args ...interface{})

func (*Logger) Errorf

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

func (*Logger) Fatal

func (*Logger) Fatal(args ...interface{})

func (*Logger) Fatalf

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

func (*Logger) Info

func (*Logger) Info(args ...interface{})

func (*Logger) Infof

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

func (*Logger) Panic

func (*Logger) Panic(args ...interface{})

func (*Logger) Panicf

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

func (*Logger) Print

func (*Logger) Print(args ...interface{})

func (*Logger) Printf

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

func (*Logger) Warn

func (*Logger) Warn(args ...interface{})

func (*Logger) Warnf

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

Jump to

Keyboard shortcuts

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