diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-09-13 22:40:35 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-09-13 22:40:35 +0300 |
commit | f5a56dcfc0c808b4a2b2bca3d265aac724562e3b (patch) | |
tree | 4d529fe3dd3e3464c6f23697451ed306c77acc7c /main.go | |
parent | 928a6e627ffed80494a6bf1b5f0a6c7fd8f845c9 (diff) |
changed the way the panel history and back button navigation is handled, now using a stack
Diffstat (limited to 'main.go')
-rwxr-xr-x | main.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -43,7 +43,7 @@ func main() { } utils.SanityCheckRequiredEnvironmentVariables() - + gtk.Main() utils.Logger.Info("leaving main.main()") @@ -86,11 +86,13 @@ func setLogLevel() { case "info": utils.SetLogLevel(logrus.InfoLevel) - case "": - fallthrough case "warn": utils.SetLogLevel(logrus.WarnLevel) + case "": + logLevel = "error" + os.Setenv(utils.EnvLogLevel, "error") + fallthrough case "error": utils.SetLogLevel(logrus.ErrorLevel) |