aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug_js.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-01-26 06:35:25 +0800
committerFelix Lange <fjl@twurst.com>2016-01-26 06:35:25 +0800
commitf2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65 (patch)
tree424c1067530fd4013234983549b03b42aa994db2 /rpc/api/debug_js.go
parent6e6931ef73c68d1a8ae45475f7719bdc962cb2c1 (diff)
parente4d794851b713b5a22147c570963ff76ec26c7d0 (diff)
downloaddexon-f2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65.tar
dexon-f2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65.tar.gz
dexon-f2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65.tar.bz2
dexon-f2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65.tar.lz
dexon-f2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65.tar.xz
dexon-f2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65.tar.zst
dexon-f2ab351e8d3b0a4e569ce56f6a4f17725ca5ba65.zip
Merge pull request #2136 from fjl/glog-prefix
logger/glog: improve vmodule
Diffstat (limited to 'rpc/api/debug_js.go')
-rw-r--r--rpc/api/debug_js.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/rpc/api/debug_js.go b/rpc/api/debug_js.go
index 03755ada0..030511add 100644
--- a/rpc/api/debug_js.go
+++ b/rpc/api/debug_js.go
@@ -62,7 +62,19 @@ web3._extend({
call: 'debug_metrics',
params: 1,
inputFormatter: [null]
- })
+ }),
+ new web3._extend.Method({
+ name: 'verbosity',
+ call: 'debug_verbosity',
+ params: 1,
+ inputFormatter: [web3._extend.utils.fromDecimal]
+ }),
+ new web3._extend.Method({
+ name: 'vmodule',
+ call: 'debug_vmodule',
+ params: 1,
+ inputFormatter: [null]
+ }),
],
properties:
[