Skip to content

Commit

Permalink
logger/glog: add SetVmodule
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Jan 21, 2016
1 parent a15b023 commit 0edcbc7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions logger/glog/glog.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ func SetV(v int) {
logging.verbosity.set(Level(v))
}

// SetVmodule sets the global verbosity patterns.
func SetVmodule(pat string) error {
return logging.vmodule.Set(pat)
}

// SetToStderr sets the global output style
func SetToStderr(toStderr bool) {
logging.toStderr = toStderr
Expand Down

0 comments on commit 0edcbc7

Please sign in to comment.