From 19e6ea76f3c09fe3a5d9a4d4caff7d14571f4ba5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 10 May 2023 14:28:30 -0500 Subject: andlabs: debugging flags working again Signed-off-by: Jeff Carr --- toolkit/andlabs/debug.go | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'toolkit/andlabs/debug.go') 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": -- cgit v1.2.3