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 /init.go | |
| parent | 8a07a26f2a1fbdd2d0025679163560634b73bbdd (diff) | |
quiet loggingv0.0.7
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -18,9 +18,9 @@ func (me *TreeInfo) catchActionChannel() { panic(-1) } }() - log.Info("catchActionChannel() START") + log.Log(TREE, "catchActionChannel() START") for { - log.Info("catchActionChannel() for loop") + log.Log(TREE, "catchActionChannel() for loop") select { case a := <-me.pluginChan: log.Verbose("catchActionChannel() on ", a.WidgetId, a.WidgetType, a.ProgName) @@ -41,7 +41,7 @@ func (me *TreeInfo) catchActionChannel() { me.ActionFromChannel(a) } muAction.Unlock() - // log.Info("catchActionChannel() STUFF END", a.WidgetId, a.ActionType, a.WidgetType) + // log.Log(TREE, "catchActionChannel() STUFF END", a.WidgetId, a.ActionType, a.WidgetType) } } } @@ -50,8 +50,14 @@ func New() *TreeInfo { me := new(TreeInfo) me.pluginChan = make(chan widget.Action, 1) - log.Info("Init() start channel reciever") + /* + full := "go.wit.com/gui" + short := "gui" + TREE = log.NewFlag("TREE", true, full, short, "treeRoot info") + */ + + log.Log(TREE, "Init() start channel reciever") go me.catchActionChannel() - log.Info("Init() END") + log.Log(TREE, "Init() END") return me } |
