logger

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Debugf

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

func Errorf

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

func Fatalf added in v0.1.2

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

func Infof

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

func SetFullpath added in v0.1.2

func SetFullpath(fullpath bool)

func SetLevel

func SetLevel(level Level)

func SetOutput added in v0.1.2

func SetOutput(output io.Writer)

func Warnf

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

Types

type Level added in v0.1.2

type Level logrus.Level
const (
	FatalLevel Level = Level(logrus.FatalLevel)
	ErrorLevel Level = Level(logrus.ErrorLevel)
	WarnLevel  Level = Level(logrus.WarnLevel)
	InfoLevel  Level = Level(logrus.InfoLevel)
	DebugLevel Level = Level(logrus.DebugLevel)
)

func GetLevel added in v0.1.2

func GetLevel() Level

Jump to

Keyboard shortcuts

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