node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user