Documentation
¶
Index ¶
- Variables
- func DebugWithFields(fields logrus.Fields, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func HandlerLog(LogToFile bool, LogFilePath string, LogFileName string) gin.HandlerFunc
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func LoggerToStdout() gin.HandlerFunc
- type MyFormatter
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *logrus.Logger
Functions ¶
func DebugWithFields ¶
func HandlerLog ¶
func HandlerLog(LogToFile bool, LogFilePath string, LogFileName string) gin.HandlerFunc
HandlerLog 默认log
func LoggerToStdout ¶
func LoggerToStdout() gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.