Documentation
¶
Index ¶
Constants ¶
View Source
const (
ISO8601layout = "2006-01-02T15:04:05-0700"
)
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
InitLogger creates a new Logrus logger instance
func JSONLogger ¶
func JSONLogger(logger *log.Logger) gin.HandlerFunc
JSONLogger is a Gin handler function that defines our JSON logging structure
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.