From 7f587d9c7971b171870f5be901944ed8eee5a79b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 8 Jan 2024 22:27:17 -0600 Subject: go.wit.com/log Flags change Signed-off-by: Jeff Carr --- debug.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debug.go') 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...) } -- cgit v1.2.3