View definition

var DefaultWriter

Defined in github.com/gin-gonic/gin/mode.go

Description

DefaultWriter is the default io.Writer used the Gin for debug output and middleware output like Logger() or Recovery(). Note that both Logger and Recovery provides custom ways to configure their output io.Writer. To support coloring in Windows use:

import "github.com/mattn/go-colorable"
gin.DefaultWriter = colorable.NewColorableStdout()

DefaultWriter is referenced in 5 repositories

github.com/gin-gonic/gin github.com/gin-gonic/contrib github.com/Jumpscale/agentcontroller2

...