From dd425dfc815c21f2bd978bf111c5a66b95918dda Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 7 Feb 2024 07:41:35 -0600 Subject: cleanup logging output Signed-off-by: Jeff Carr --- json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'json.go') diff --git a/json.go b/json.go index 5a52334..095e159 100644 --- a/json.go +++ b/json.go @@ -51,7 +51,7 @@ func (n *Node) Json() []string { case widget.Window: tmp := fmt.Sprint("{ WidgetType :", n.WidgetType, "}") all = append(all, tmp) - log.Warn(tmp) + log.Log(TREEWARN, tmp) return all default: log.Log(TREE, "doUserEvent() type =", n.WidgetType) -- cgit v1.2.3