Skip to content

Commit

Permalink
Fix glog intercept example
Browse files Browse the repository at this point in the history
  • Loading branch information
munnerz committed Nov 15, 2018
1 parent 31dcf12 commit e10d044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glog/glog.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Flush() {

// V is a shim
func V(level Level) Verbose {
return Verbose(bool(klog.V(klog.Level(int32(level)))))
return Verbose(klog.V(klog.Level(int32(level))).Enabled())
}

// Info is a shim
Expand Down

0 comments on commit e10d044

Please sign in to comment.