Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
print warning on set verbosity for glog; fix #599
  • Loading branch information
dennwc committed May 26, 2017
1 parent 989b520 commit 7323095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clog/glog/glog.go
Expand Up @@ -30,6 +30,6 @@ func (Logger) V(level int) bool {
return bool(glog.V(glog.Level(level)))
}

func (Logger) SetV(int) {
panic("unexposed in glog")
func (Logger) SetV(v int) {
glog.Warningf("changing log level is not supported; run command with '-v %d' flag", v)
}

0 comments on commit 7323095

Please sign in to comment.