1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-15 01:34:53 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-03-20 08:14:55 -07:00
parent 576dfeb71d
commit b47abdb9ec
4 changed files with 51 additions and 115 deletions

View File

@ -78,7 +78,7 @@ func LoggerFromConfig(config LoggerConfig) echo.MiddlewareFunc {
start := time.Now()
if err := next.Handle(c); err != nil {
return err
c.Error(err)
}
stop := time.Now()
method := []byte(req.Method())