Documentation
¶
Index ¶
- func DefaultLogger() gin.HandlerFunc
- func GetLogPath() string
- func GetLogger() *logrus.Logger
- func InitJsonLogger(logPath *string)
- func JsonLogger() gin.HandlerFunc
- func LoggerToES() gin.HandlerFunc
- func LoggerToMQ() gin.HandlerFunc
- func LoggerToMongo() gin.HandlerFunc
- func LogsFormatArgs(c *gin.Context) (time.Duration, string, string, int, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitJsonLogger ¶ added in v1.1.0
func InitJsonLogger(logPath *string)
*
- @Author yNsLuHan
- @Description:
- @Time 2021-06-28 09:20:20
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.