Skip to content

Commit

Permalink
Fixed log level api changes
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>

Updated deps

Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Jun 9, 2016
1 parent be5efe5 commit 5789bde
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ func (e *Echo) SetLogOutput(w io.Writer) {
e.logger.SetOutput(w)
}

// SetLogLevel sets the log level for the logger. Default value is `log.FATAL`.
func (e *Echo) SetLogLevel(l uint8) {
// SetLogLevel sets the log level for the logger. Default value FATAL.
func (e *Echo) SetLogLevel(l log.Lvl) {
e.logger.SetLevel(l)
}

Expand Down
20 changes: 11 additions & 9 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package: .
package: github.com/labstack/echo
import:
- package: github.com/labstack/echo
- package: github.com/labstack/gommon
subpackages:
- /color
- color
- log
- package: golang.org/x/net
subpackages:
- /context
- context
- websocket
- package: gopkg.in/labstack/echo.v1
- package: github.com/stretchr/testify
subpackages:
- assert

0 comments on commit 5789bde

Please sign in to comment.