logger

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 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(args ...interface{})

func Debugf

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

func DebugfCustomDepth added in v1.10.0

func DebugfCustomDepth(callerDepth int, format string, args ...interface{})

func DebugfLogEnter added in v1.10.0

func DebugfLogEnter(callerDepth int, format string, args ...interface{})

func DebugfLogExit added in v1.10.0

func DebugfLogExit(callerDepth int, format string, args ...interface{})

func Enter added in v1.10.0

func Enter(request interface{}) string

func Error

func Error(args ...interface{})

func Errorf

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

func Errorln

func Errorln(args ...interface{})

func Exit added in v1.10.0

func Exit(funcName string)

func GetLevel

func GetLevel() string

func Info

func Info(args ...interface{})

func Infof

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

func Panicln

func Panicln(args ...interface{})

func Tracef

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

func Warning

func Warning(args ...interface{})

func Warningf

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

Types

type LogFormat

type LogFormat struct {
	TimestampFormat string
}

func (*LogFormat) Format

func (f *LogFormat) Format(entry *logrus.Entry) ([]byte, error)

Format the entry which contains log message info

Jump to

Keyboard shortcuts

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