logger

package
v0.0.0-...-4e22d16 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Red    = "41"
	Yellow = "43"
	Green  = "42"
)

color

Variables

This section is empty.

Functions

func Debug

func Debug(message string, fields logrus.Fields)

func DebugF

func DebugF(format string, fields logrus.Fields, args ...interface{})

func Error

func Error(message string, fields logrus.Fields)

func ErrorF

func ErrorF(format string, fields logrus.Fields, args ...interface{})

func Fatal

func Fatal(message string, fields logrus.Fields)

func FatalF

func FatalF(format string, fields logrus.Fields, args ...interface{})

func HTTPLogger

func HTTPLogger(param gin.LogFormatterParams) string

func Info

func Info(message string, fields logrus.Fields)

func InfoF

func InfoF(format string, fields logrus.Fields, args ...interface{})

func Panic

func Panic(message string, fields logrus.Fields)

func PanicF

func PanicF(format string, fields logrus.Fields, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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