mobile: add missing glog package in mobile/logger.go file

This commit is contained in:
Nicolas Guillaume 2016-12-23 16:24:33 +01:00
parent b5e748f268
commit 8eab1be119
2 changed files with 4 additions and 1 deletions

View file

@ -33,7 +33,6 @@ import (
"github.com/ethereum/go-ethereum/p2p/nat" "github.com/ethereum/go-ethereum/p2p/nat"
"github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/whisper/whisperv2" "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 // NodeConfig represents the collection of configuration values to fine tune the Geth

View file

@ -18,6 +18,10 @@
package geth package geth
import (
"github.com/ethereum/go-ethereum/logger/glog"
)
//Verbosity sets the global verbosity level (between 0 and 6 - see logger/verbosity.go). //Verbosity sets the global verbosity level (between 0 and 6 - see logger/verbosity.go).
func SetVerbosity(level int) { func SetVerbosity(level int) {
glog.SetV(level) glog.SetV(level)