1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-24 03:16:14 +02:00

Log level to debug in debug mode

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2016-04-07 17:01:42 -07:00
parent 18a78a34eb
commit f12d77f9cf

View File

@ -289,7 +289,7 @@ func (e *Echo) SetRenderer(r Renderer) {
// SetDebug enable/disable debug mode.
func (e *Echo) SetDebug(on bool) {
e.debug = on
e.SetLogLevel(log.FATAL)
e.SetLogLevel(log.DEBUG)
}
// Debug returns debug mode (enabled or disabled).