summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'args.go')
-rw-r--r--args.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/args.go b/args.go
index cc973b1..fbcfe3d 100644
--- a/args.go
+++ b/args.go
@@ -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