aboutsummaryrefslogtreecommitdiffstats
path: root/logger/glog/glog.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-07 20:57:04 +0800
committerobscuren <geffobscura@gmail.com>2015-04-07 20:57:04 +0800
commit688d118c7e0d439691e84fc6e068ab3e19da5185 (patch)
tree6891a60950e0c2956c9f2d4fed6fceb67430775c /logger/glog/glog.go
parent01b2c90179ff82e4610745aea0e3e3ca53756305 (diff)
downloaddexon-688d118c7e0d439691e84fc6e068ab3e19da5185.tar.gz
dexon-688d118c7e0d439691e84fc6e068ab3e19da5185.tar.zst
dexon-688d118c7e0d439691e84fc6e068ab3e19da5185.zip
Updated logging
Diffstat (limited to 'logger/glog/glog.go')
-rw-r--r--logger/glog/glog.go4
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)))