log

package
v0.0.0-...-f9eaf4d Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(Operation string, args ...interface{})

Debug log debug.

func Debugf

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

Debugf log debug with format.

func Error

func Error(Operation string, args ...interface{})

Error log error.

func Errorf

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

Errorf log error with format.

func GetLogger

func GetLogger() *logrus.Logger

GetLogger get logger instance.

func Info

func Info(Operation string, args ...interface{})

Info log info.

func Infof

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

Infof log info with format.

func InitLogger

func InitLogger()

InitLogger init logger.

func NewLfsHook

func NewLfsHook(rotationTime time.Duration, maxRemainNum uint) logrus.Hook

NewLfsHook add fileline hook.

func Panic

func Panic(Operation string, args ...interface{})

Panic log panic.

func Panicf

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

Panicf log panic with format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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