diff options
Diffstat (limited to 'logger/glog')
-rw-r--r-- | logger/glog/glog.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/logger/glog/glog.go b/logger/glog/glog.go index ef0c3068c..b8eaf9359 100644 --- a/logger/glog/glog.go +++ b/logger/glog/glog.go @@ -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 |