Skip to content

Commit

Permalink
Merge pull request inconshreveable#97 from regorov/patch-1
Browse files Browse the repository at this point in the history
fixes example
  • Loading branch information
inconshreveable authored Jul 11, 2016
2 parents b410a38 + ac1cfd9 commit 0b45fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func MatchFilterHandler(key string, value interface{}, h Handler) Handler {
// level to the wrapped Handler. For example, to only
// log Error/Crit records:
//
// log.LvlFilterHandler(log.Error, log.StdoutHandler)
// log.LvlFilterHandler(log.LvlError, log.StdoutHandler)
//
func LvlFilterHandler(maxLvl Lvl, h Handler) Handler {
return FilterHandler(func(r *Record) (pass bool) {
Expand Down

0 comments on commit 0b45fb2

Please sign in to comment.