log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug

func DebugWithFields

func DebugWithFields(l interface{}, f Fields)

带有field的Debug

func Error

func Error(args ...interface{})

Error

func ErrorWithFields

func ErrorWithFields(l interface{}, f Fields)

带有Fields的Error

func Fatal

func Fatal(args ...interface{})

Fatal

func FatalWithFields

func FatalWithFields(l interface{}, f Fields)

带有Field的Fatal

func Info

func Info(args ...interface{})

Info

func InfoWithFields

func InfoWithFields(l interface{}, f Fields)

带有field的Info

func Panic

func Panic(args ...interface{})

Panic

func PanicWithFields

func PanicWithFields(l interface{}, f Fields)

带有Field的Panic

func SetLogFormatter

func SetLogFormatter(formatter logrus.Formatter)

func SetLogLevel

func SetLogLevel(level logrus.Level)

func Warn

func Warn(args ...interface{})

Warn

func WarnWithFields

func WarnWithFields(l interface{}, f Fields)

带有Field的Warn

Types

type Fields

type Fields logrus.Fields

封装logrus.Fields

Jump to

Keyboard shortcuts

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