diff options
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 |
