summaryrefslogtreecommitdiff
path: root/addText.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-21 11:37:00 -0600
committerJeff Carr <[email protected]>2024-01-21 11:37:00 -0600
commitba70be3064c1d082eb0e9146562b7f07dd894fb0 (patch)
treef8fc37331297233379614238bc382bf0a4235313 /addText.go
parentdfb7a47e8cccd82080de3d6ba97855eeb2be6593 (diff)
cleaner logging outputv0.12.20
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addText.go')
-rw-r--r--addText.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/addText.go b/addText.go
index be72cc1..1e6a07d 100644
--- a/addText.go
+++ b/addText.go
@@ -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