Documentation ¶ Index ¶ Variables func LogRequestFieldProvider(ctx *gin.Context) log.Fielder type Handler func New(w io.Writer) *Handler func (h *Handler) HandleLog(e *log.Entry) error Constants ¶ This section is empty. Variables ¶ View Source var Default = New(os.Stderr) Functions ¶ func LogRequestFieldProvider ¶ func LogRequestFieldProvider(ctx *gin.Context) log.Fielder Types ¶ type Handler ¶ type Handler struct { *j.Encoder // contains filtered or unexported fields } func New ¶ func New(w io.Writer) *Handler func (*Handler) HandleLog ¶ func (h *Handler) HandleLog(e *log.Entry) error Source Files ¶ View all Source files handler.go provider.go Click to show internal directories. Click to hide internal directories.