Skip to content

Commit 5789bde

Browse files
committed
Fixed log level api changes
Signed-off-by: Vishal Rana <[email protected]> Updated deps Signed-off-by: Vishal Rana <[email protected]>
1 parent be5efe5 commit 5789bde

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

echo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ func (e *Echo) SetLogOutput(w io.Writer) {
244244
e.logger.SetOutput(w)
245245
}
246246

247-
// SetLogLevel sets the log level for the logger. Default value is `log.FATAL`.
248-
func (e *Echo) SetLogLevel(l uint8) {
247+
// SetLogLevel sets the log level for the logger. Default value FATAL.
248+
func (e *Echo) SetLogLevel(l log.Lvl) {
249249
e.logger.SetLevel(l)
250250
}
251251

glide.lock

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

glide.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
package: .
1+
package: github.com/labstack/echo
22
import:
3-
- package: github.com/labstack/echo
43
- package: github.com/labstack/gommon
54
subpackages:
6-
- /color
5+
- color
76
- log
87
- package: golang.org/x/net
98
subpackages:
10-
- /context
9+
- context
1110
- websocket
11+
- package: gopkg.in/labstack/echo.v1
12+
- package: github.com/stretchr/testify
13+
subpackages:
14+
- assert

0 commit comments

Comments
 (0)