Documentation ¶
Index ¶
Constants ¶
View Source
const ( RequestId logger.Field = "request_id" Method logger.Field = "method" URL logger.Field = "url" )
View Source
const ContextLoggerField = "logger"
Variables ¶
This section is empty.
Functions ¶
func GinRequestLogger ¶
func GinRequestLogger(l logger.Interface) gin.HandlerFunc
Types ¶
type LogObject ¶
type LogObject struct {
// contains filtered or unexported fields
}
func NewLogObject ¶
Click to show internal directories.
Click to hide internal directories.