aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/logger.go
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/logger.go')
-rw-r--r--mobile/logger.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/mobile/logger.go b/mobile/logger.go
index 97f80f9bb..9f24b3279 100644
--- a/mobile/logger.go
+++ b/mobile/logger.go
@@ -17,10 +17,12 @@
package geth
import (
- "github.com/ethereum/go-ethereum/logger/glog"
+ "os"
+
+ "github.com/ethereum/go-ethereum/log"
)
// SetVerbosity sets the global verbosity level (between 0 and 6 - see logger/verbosity.go).
func SetVerbosity(level int) {
- glog.SetV(level)
+ log.Root().SetHandler(log.LvlFilterHandler(log.Lvl(level), log.StreamHandler(os.Stderr, log.TerminalFormat())))
}