Added a log level slider which can change the log level

This commit is contained in:
obscuren
2014-06-14 15:44:32 +02:00
parent e7a22af0e6
commit ef1b923b31
3 changed files with 53 additions and 9 deletions

View File

@ -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)
}