log flag debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
d2b3f7e074
commit
3c26b3843f
4
args.go
4
args.go
|
@ -20,8 +20,8 @@ func init() {
|
||||||
|
|
||||||
newlog.Register("gui", "debugGui", &debugGui)
|
newlog.Register("gui", "debugGui", &debugGui)
|
||||||
|
|
||||||
for _, s := range newlog.ListAll() {
|
for _, s := range newlog.ListFlags() {
|
||||||
newlog.Info("go.wit.org/gui ListAll() returned:", s)
|
newlog.Info("go.wit.org/gui ListFlags() returned:", s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,8 @@ func (n *Node) AppendText(str string) {
|
||||||
func (n *Node) GetText() string {
|
func (n *Node) GetText() string {
|
||||||
if (n.S != n.Text) {
|
if (n.S != n.Text) {
|
||||||
newlog.Warn("GetText() is screwed up. TODO: fix this dumb crap")
|
newlog.Warn("GetText() is screwed up. TODO: fix this dumb crap")
|
||||||
|
stuff := newlog.ListFlags()
|
||||||
|
newlog.Warn("ListFlags() =", stuff)
|
||||||
}
|
}
|
||||||
if (n.S != "") {
|
if (n.S != "") {
|
||||||
return n.S
|
return n.S
|
||||||
|
|
Loading…
Reference in New Issue