Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LevelList = map[string]logrus.Level{ "panic": logrus.PanicLevel, "fatal": logrus.FatalLevel, "error": logrus.ErrorLevel, "warn": logrus.WarnLevel, "info": logrus.InfoLevel, "debug": logrus.DebugLevel, "trace": logrus.TraceLevel, }
View Source
var Logger *logrus.Logger
Functions ¶
func GinLogFormatter ¶
func GinLogFormatter(params gin.LogFormatterParams) string
func LoggerInit ¶
func LoggerInit(level, LogOutput string)
Types ¶
Click to show internal directories.
Click to hide internal directories.