diff options
Diffstat (limited to 'event.go')
| -rw-r--r-- | event.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -51,9 +51,9 @@ func (me *TreeInfo) SendToolkitPanic() { var a widget.Action a.ActionType = widget.ToolkitPanic a.ProgName = me.PluginName - log.Info("SendUserEvent() START: toolkit panic()") + log.Log(TREE, "SendUserEvent() START: toolkit panic()") me.callback <- a - log.Info("SendUserEvent() END: toolkit panic()") + log.Log(TREE, "SendUserEvent() END: toolkit panic()") return } @@ -65,9 +65,9 @@ func (me *TreeInfo) SendWindowCloseEvent(n *Node) { var a widget.Action a.WidgetId = n.WidgetId a.ActionType = widget.CloseWindow - log.Info("SendUserEvent() START: user closed the window", n.GetProgName()) + log.Log(TREE, "SendUserEvent() START: user closed the window", n.GetProgName()) me.callback <- a - log.Info("SendUserEvent() END: user closed the window", n.GetProgName()) + log.Log(TREE, "SendUserEvent() END: user closed the window", n.GetProgName()) return } @@ -82,10 +82,10 @@ func (me *TreeInfo) SendUserEvent(n *Node) { a.Value = n.State.Value a.ActionType = widget.User if n.WidgetType == widget.Checkbox { - log.Info("SendUserEvent() checkbox going to send:", a.Value) + log.Log(TREE, "SendUserEvent() checkbox going to send:", a.Value) } - log.Info("SendUserEvent() START: send a user event to the callback channel") + log.Log(TREE, "SendUserEvent() START: send a user event to the callback channel") me.callback <- a - log.Info("SendUserEvent() END: sent a user event to the callback channel") + log.Log(TREE, "SendUserEvent() END: sent a user event to the callback channel") return } |
