diff options
Diffstat (limited to 'logger/glog/glog.go')
-rw-r--r-- | logger/glog/glog.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logger/glog/glog.go b/logger/glog/glog.go index a0c4727f8..008c0e036 100644 --- a/logger/glog/glog.go +++ b/logger/glog/glog.go @@ -128,6 +128,10 @@ func GetTraceLocation() *TraceLocation { return &logging.traceLocation } +func GetVModule() *moduleSpec { + return &logging.vmodule +} + // get returns the value of the severity. func (s *severity) get() severity { return severity(atomic.LoadInt32((*int32)(s))) |