summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-03 18:15:54 -0600
committerJeff Carr <[email protected]>2024-01-03 18:15:54 -0600
commit0a20b22a6c13c2ccf6a914cd847be9e3f744b343 (patch)
treebd8bcde875b5d88e5f890331dfb3cafc12b05b23 /grid.go
parent3f42ba188239c0c367718348515bd1b825196c7a (diff)
move to go.wit.com/log !!!
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'grid.go')
-rw-r--r--grid.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/grid.go b/grid.go
index 30f2751..e4f3e08 100644
--- a/grid.go
+++ b/grid.go
@@ -1,6 +1,7 @@
package gui
import (
+ "go.wit.com/log"
"go.wit.com/gui/gui/toolkit"
)
@@ -73,7 +74,7 @@ func (n *Node) At(w int, h int) *Node {
n.gridIncrement()
if (n.NextW != w) || (n.NextH != h) {
- log(logError, "At() (W,H)", w, h, " was moved to avoid a collision (W,H) =", n.NextW, n.NextH)
+ log.Warn("At() (W,H)", w, h, " was moved to avoid a collision (W,H) =", n.NextW, n.NextH)
}
return n
}