Commit 0edcbc79 authored by Felix Lange's avatar Felix Lange

logger/glog: add SetVmodule

parent a15b0232
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment