1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-11 14:49:56 +02:00

correct wrong package reference (#809)

Discard is not part of the io package, it is part of ioutil
This commit is contained in:
Brett 2017-01-09 20:57:14 -06:00 committed by Vishal Rana
parent 8047be7f12
commit 73b7ecaed5

View File

@ -19,7 +19,7 @@ to `DEBUG`.
`Echo#Logger.SetOutput(io.Writer)` can be used to set the output destination for
the logger. Default value is `os.Stdout`
To completely disable logs use `Echo#Logger.SetOutput(io.Discard)` or `Echo#Logger.SetLevel(log.OFF)`
To completely disable logs use `Echo#Logger.SetOutput(ioutil.Discard)` or `Echo#Logger.SetLevel(log.OFF)`
### Log Level