diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 10:25:41 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 10:25:41 -0600 |
| commit | b19c1e237db79b615a037b6034d45ac54c7ff233 (patch) | |
| tree | 854f060af47c2038b05cac8c3a1cb7b8b842cdad /event.go | |
| parent | 8a07a26f2a1fbdd2d0025679163560634b73bbdd (diff) | |
quiet loggingv0.0.7
Signed-off-by: Jeff Carr <[email protected]>
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 } |
