aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r--ethereal/gui.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go
index 6d16ec484..5e87f7464 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -56,7 +56,8 @@ type Gui struct {
plugins map[string]plugin
- miner *ethminer.Miner
+ miner *ethminer.Miner
+ stdLog ethlog.LogSystem
}
// Create GUI, but doesn't start it
@@ -559,6 +560,7 @@ func (gui *Gui) ToggleTurboMining() {
// functions that allow Gui to implement interface ethlog.LogSystem
func (gui *Gui) SetLogLevel(level ethlog.LogLevel) {
gui.logLevel = level
+ gui.stdLog.SetLogLevel(level)
gui.config.Save("loglevel", level)
}