From 0edcbc797f9ecf3d757b4ffcf1844a2ba8ec72ef Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 21 Jan 2016 13:36:33 +0100 Subject: [PATCH] logger/glog: add SetVmodule --- logger/glog/glog.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/logger/glog/glog.go b/logger/glog/glog.go index ef0c3068c5..b8eaf9359e 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