aboutsummaryrefslogtreecommitdiffstats
path: root/node/api.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-01-21 20:36:50 +0800
committerFelix Lange <fjl@twurst.com>2016-01-21 20:37:38 +0800
commite4d794851b713b5a22147c570963ff76ec26c7d0 (patch)
treecd1820c20dd39203567454ec669482636a85ddbb /node/api.go
parent0edcbc797f9ecf3d757b4ffcf1844a2ba8ec72ef (diff)
downloaddexon-e4d794851b713b5a22147c570963ff76ec26c7d0.tar.gz
dexon-e4d794851b713b5a22147c570963ff76ec26c7d0.tar.zst
dexon-e4d794851b713b5a22147c570963ff76ec26c7d0.zip
node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity
Diffstat (limited to 'node/api.go')
-rw-r--r--node/api.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/api.go b/node/api.go
index a44ee16c0..909329e57 100644
--- a/node/api.go
+++ b/node/api.go
@@ -138,6 +138,11 @@ func (api *PrivateDebugAPI) Verbosity(level int) {
glog.SetV(level)
}
+// Vmodule updates the node's logging verbosity pattern.
+func (api *PrivateDebugAPI) Vmodule(pattern string) error {
+ return glog.SetVmodule(pattern)
+}
+
// PublicDebugAPI is the collection of debugging related API methods exposed over
// both secure and unsecure RPC channels.
type PublicDebugAPI struct {