diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 11:37:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 11:37:00 -0600 |
| commit | ba70be3064c1d082eb0e9146562b7f07dd894fb0 (patch) | |
| tree | f8fc37331297233379614238bc382bf0a4235313 /addText.go | |
| parent | dfb7a47e8cccd82080de3d6ba97855eeb2be6593 (diff) | |
cleaner logging outputv0.12.20
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addText.go')
| -rw-r--r-- | addText.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -29,7 +29,7 @@ func (n *Node) addText(newS string) { n.strings = append(n.strings, newS) n.mu.Unlock() mylock.Unlock() - log.Warn("addText() has strings:", n.strings) + log.Log(INFO, "addText() has strings:", n.strings) */ // inform the toolkits @@ -43,9 +43,9 @@ func (n *Node) AddText(str string) bool { if !n.Ready() { return false } - log.Warn("AddText() value =", str) - log.Warn("AddText() value =", str) - log.Warn("AddText() value =", str) + log.Log(INFO, "AddText() value =", str) + log.Log(INFO, "AddText() value =", str) + log.Log(INFO, "AddText() value =", str) // for some reason, the n.mu.Lock() doesn't seem to protect the append() function on strings // switched to a map. I suspect that is what maps are for because they are safer |
