diff options
| author | Jeff Carr <[email protected]> | 2023-05-10 14:28:30 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-10 14:28:30 -0500 |
| commit | 19e6ea76f3c09fe3a5d9a4d4caff7d14571f4ba5 (patch) | |
| tree | 6e1c9e86c9a591d6b0a7ca686026d783de1d67ac /toolkit/andlabs/debug.go | |
| parent | cb0e8a7146c055b47f42d0a1005b93e08492e6ca (diff) | |
andlabs: debugging flags working againv0.8.6
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/debug.go')
| -rw-r--r-- | toolkit/andlabs/debug.go | 20 |
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": |
