From e4d794851b713b5a22147c570963ff76ec26c7d0 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 21 Jan 2016 13:36:50 +0100 Subject: node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity --- node/api.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'node/api.go') 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 { -- cgit