summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-08 22:27:17 -0600
committerJeff Carr <[email protected]>2024-01-08 22:27:17 -0600
commit7f587d9c7971b171870f5be901944ed8eee5a79b (patch)
tree40337d3263e8848fe44c18bfac63e8282150e36f /debug.go
parentaa41070a98ca244a8657e3f6bce22fffc20ef1d4 (diff)
go.wit.com/log Flags change
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug.go b/debug.go
index 8da55b2..2d32fa7 100644
--- a/debug.go
+++ b/debug.go
@@ -86,9 +86,9 @@ func (n *Node) ListChildren(dump bool) {
if (listChildrenParent != nil) {
log.Log(NODE, "\t\t\tlistChildrenParent =",listChildrenParent.id)
if (listChildrenParent.id != n.parent.id) {
- log.Log(true, "parent =",n.parent.id, n.parent.Name)
- log.Log(true, "listChildrenParent =",listChildrenParent.id, listChildrenParent.Name)
- log.Log(true, listChildrenParent.id, "!=", n.parent.id)
+ log.Log(NOW, "parent =",n.parent.id, n.parent.Name)
+ log.Log(NOW, "listChildrenParent =",listChildrenParent.id, listChildrenParent.Name)
+ log.Log(NOW, listChildrenParent.id, "!=", n.parent.id)
log.Exit("parent.child does not match child.parent")
}
}
@@ -131,5 +131,5 @@ func logindent(b bool, depth int, format string, a ...any) {
// array prepend(). Why isn't this a standard function. It should be:
// a.prepend(debugGui, newFormat)
a = append([]any{b, newFormat}, a...)
- log.Log(b, a...)
+ log.Log(NOW, a...)
}