These are chat archives for gin-gonic/gin

8th
Jul 2017
Eason Lin
@easonlin404
Jul 08 2017 08:07
@andreynering Only when the Gin mode is set to gin.DebugMode, then Gin prints debug log to Stdout like [GIN-debug]/PrintRoute/PrintLoadTemplate
But other like Logger middleware still prints log to Stdout in each mode even setted by gin.TestMode.
Andrey Nering
@andreynering
Jul 08 2017 11:16
@easonlin404 Ok. I set the logger to ioutil.Discard in test mode to solve the issue.
Eason Lin
@easonlin404
Jul 08 2017 13:15
:smile: