diff options
| author | Jeff Carr <[email protected]> | 2023-12-31 19:45:43 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-31 19:45:43 -0600 |
| commit | 53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (patch) | |
| tree | 155918ef93a63a92b165e6724ced41966876b746 | |
| parent | e85d453fd8bd75e290f2306c3b0150444c57ce2b (diff) | |
log flag debugging
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | args.go | 4 | ||||
| -rw-r--r-- | common.go | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -20,8 +20,8 @@ func init() { newlog.Register("gui", "debugGui", &debugGui) - for _, s := range newlog.ListAll() { - newlog.Info("go.wit.org/gui ListAll() returned:", s) + for _, s := range newlog.ListFlags() { + newlog.Info("go.wit.org/gui ListFlags() returned:", s) } } @@ -101,6 +101,8 @@ func (n *Node) AppendText(str string) { func (n *Node) GetText() string { if (n.S != n.Text) { newlog.Warn("GetText() is screwed up. TODO: fix this dumb crap") + stuff := newlog.ListFlags() + newlog.Warn("ListFlags() =", stuff) } if (n.S != "") { return n.S |
