diff --git a/mobile/geth.go b/mobile/geth.go index af0054cdcd..0913287058 100644 --- a/mobile/geth.go +++ b/mobile/geth.go @@ -33,6 +33,7 @@ import ( "github.com/ethereum/go-ethereum/p2p/nat" "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/whisper/whisperv2" + "github.com/ethereum/go-ethereum/logger/glog" ) // NodeConfig represents the collection of configuration values to fine tune the Geth @@ -208,3 +209,8 @@ func (n *Node) GetNodeInfo() *NodeInfo { func (n *Node) GetPeersInfo() *PeerInfos { return &PeerInfos{n.node.Server().PeersInfo()} } + + +func (n *Node) Verbosity(level int) { + glog.SetV(level) +}