diff options
| author | Jeff Carr <[email protected]> | 2023-12-31 16:08:18 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-31 16:08:18 -0600 |
| commit | e85d453fd8bd75e290f2306c3b0150444c57ce2b (patch) | |
| tree | ec725e84594dff2866c4a7462f0b66256405dd7a /args.go | |
| parent | 92441e8c635aa3e1d1f148e4780c0c323f4b0f95 (diff) | |
attempt at log.Register(guiDebug) debugging flag
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'args.go')
| -rw-r--r-- | args.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,8 @@ package gui import ( arg "github.com/alexflint/go-arg" + + newlog "go.wit.com/log" ) var argGui ArgsGui @@ -15,6 +17,12 @@ type ArgsGui struct { func init() { arg.Register(&argGui) + + newlog.Register("gui", "debugGui", &debugGui) + + for _, s := range newlog.ListAll() { + newlog.Info("go.wit.org/gui ListAll() returned:", s) + } } // returns the toolkit |
