summaryrefslogtreecommitdiff
path: root/nocui/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-08 20:17:49 -0600
committerJeff Carr <[email protected]>2024-01-08 20:17:49 -0600
commit2a9724d7a89733db8c41571a8b5d9d0e1f0d76b3 (patch)
tree471510c5d1bf2d12571c538b22686d2dcec5ff1f /nocui/widget.go
parent4a079f8346fb54a3f4b7e15c3d89701f643099ce (diff)
move to 'go.wit.com/log'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nocui/widget.go')
-rw-r--r--nocui/widget.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/nocui/widget.go b/nocui/widget.go
index 989634d..c749c4b 100644
--- a/nocui/widget.go
+++ b/nocui/widget.go
@@ -1,6 +1,7 @@
package main
import (
+ "go.wit.com/log"
"go.wit.com/gui/widget"
)
@@ -11,7 +12,7 @@ func initWidget(n *node) *guiWidget {
// Set(w, "default")
if n.WidgetType == widget.Root {
- log(logInfo, "setupWidget() FOUND ROOT w.id =", n.WidgetId)
+ log.Log(INFO, "setupWidget() FOUND ROOT w.id =", n.WidgetId)
n.WidgetId = 0
me.rootNode = n
return w