Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var L = logrus.NewEntry(logrus.StandardLogger())
L is an alias for the the standard logger.
Functions ¶
func FromContext ¶
FromContext retrieves the current logger from the context. If no logger is available, the default logger is returned.
func FromRequest ¶
FromRequest retrieves the current logger from the request. If no logger is available, the default logger is returned.
func Handler ¶
func Handler() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.