summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.go b/common.go
index 3196573..1e4194c 100644
--- a/common.go
+++ b/common.go
@@ -115,7 +115,7 @@ func (n *Node) SetBool(b bool) {
case widget.Checkbox:
n.checked = b
default:
- log.Warn("WidgetType not bool", n.WidgetType, n.id)
+ log.Log(WARN, "WidgetType not bool", n.WidgetType, n.id)
}
}
@@ -123,7 +123,7 @@ func (n *Node) SetInt(i int) {
switch n.WidgetType {
default:
// n.value = i
- // log.Warn("WidgetType not bool", n.WidgetType, n.id)
+ // log.Log(WARN, "WidgetType not bool", n.WidgetType, n.id)
}
}