These are chat archives for gin-gonic/gin

Jul 2017
Eason Lin
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
Jul 08 2017 11:16
@easonlin404 Ok. I set the logger to ioutil.Discard in test mode to solve the issue.
Eason Lin
Jul 08 2017 13:15