summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/andlabs/debug.go')
-rw-r--r--toolkit/andlabs/debug.go20
1 files changed, 18 insertions, 2 deletions
diff --git a/toolkit/andlabs/debug.go b/toolkit/andlabs/debug.go
index cc32b71..7abd2d1 100644
--- a/toolkit/andlabs/debug.go
+++ b/toolkit/andlabs/debug.go
@@ -92,6 +92,24 @@ func GetDebugToolkit () bool {
func flag(a *toolkit.Action) {
// should set the checkbox to this value
switch a.S {
+ case "Quiet":
+ logInfo = a.B
+ logVerbose = a.B
+ logWarn = a.B
+ logError = a.B
+ case "Error":
+ logError = a.B
+ case "Info":
+ logInfo = a.B
+ case "Verbose":
+ logInfo = a.B
+ logVerbose = a.B
+ logWarn = a.B
+ logError = a.B
+ debugToolkit = a.B
+ debugChange = a.B
+ debugPlugin = a.B
+ debugFlags = a.B
case "Toolkit":
debugToolkit = a.B
case "Change":
@@ -100,8 +118,6 @@ func flag(a *toolkit.Action) {
debugPlugin = a.B
case "Flags":
debugFlags = a.B
- case "Error":
- debugError = a.B
case "Now":
debugNow = a.B
case "Show":