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

Fixed test cases

Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
This commit is contained in:
Vishal Rana
2016-02-09 17:16:46 -08:00
parent 4f57582b06
commit 94e5936287
11 changed files with 101 additions and 69 deletions

View File

@ -8,6 +8,7 @@ import (
"time"
"github.com/labstack/echo/engine"
"github.com/labstack/echo/logger"
"net/url"
@ -45,7 +46,7 @@ type (
NoContent(int) error
Redirect(int, string) error
Error(err error)
Logger() Logger
Logger() logger.Logger
Object() *context
}
@ -302,7 +303,7 @@ func (c *context) Error(err error) {
}
// Logger returns the `Logger` instance.
func (c *context) Logger() Logger {
func (c *context) Logger() logger.Logger {
return c.echo.logger
}