diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-14 21:44:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-14 21:44:32 +0800 |
commit | ef1b923b31dfda78bc8f3dce415721aa9518fe4b (patch) | |
tree | f21aacf86932ec3f7a85de1ccb74fc8b00763e5d /ethereal/ui/gui.go | |
parent | e7a22af0e633db4da3d81f1ad07126ea3b06f891 (diff) | |
download | dexon-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar dexon-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.gz dexon-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.bz2 dexon-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.lz dexon-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.xz dexon-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.zst dexon-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.zip |
Added a log level slider which can change the log level
Diffstat (limited to 'ethereal/ui/gui.go')
-rw-r--r-- | ethereal/ui/gui.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethereal/ui/gui.go b/ethereal/ui/gui.go index 23f53ef47..b67035149 100644 --- a/ethereal/ui/gui.go +++ b/ethereal/ui/gui.go @@ -356,3 +356,7 @@ func (gui *Gui) ChangeClientId(id string) { func (gui *Gui) ClientId() string { return ethutil.Config.Identifier } + +func (gui *Gui) SetLogLevel(level int) { + ethutil.Config.Log.SetLevel(level) +} |