aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-14 21:44:32 +0800
committerobscuren <geffobscura@gmail.com>2014-06-14 21:44:32 +0800
commitef1b923b31dfda78bc8f3dce415721aa9518fe4b (patch)
treef21aacf86932ec3f7a85de1ccb74fc8b00763e5d /ethereal/ui
parente7a22af0e633db4da3d81f1ad07126ea3b06f891 (diff)
downloadgo-tangerine-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar
go-tangerine-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.gz
go-tangerine-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.bz2
go-tangerine-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.lz
go-tangerine-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.xz
go-tangerine-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.tar.zst
go-tangerine-ef1b923b31dfda78bc8f3dce415721aa9518fe4b.zip
Added a log level slider which can change the log level
Diffstat (limited to 'ethereal/ui')
-rw-r--r--ethereal/ui/gui.go4
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)
+}