summaryrefslogtreecommitdiff
path: root/addText.go
diff options
context:
space:
mode:
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