1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-15 01:34:53 +02:00

Logger as interface, fixed #533, fixed #349, fixed #304

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-05-31 18:29:11 -07:00
parent 3e04718bf4
commit a98843b6e5
4 changed files with 44 additions and 25 deletions

View File

@ -7,7 +7,7 @@ import (
"net"
"github.com/labstack/gommon/log"
"github.com/labstack/echo/log"
)
type (
@ -17,7 +17,7 @@ type (
SetHandler(Handler)
// SetLogger sets the logger for the HTTP server.
SetLogger(*log.Logger)
SetLogger(log.Logger)
// Start starts the HTTP server.
Start() error