David Blume commited on 2020-05-07 00:02:46
Showing 2 changed files, with 5 additions and 5 deletions.
| ... | ... |
@@ -54,7 +54,7 @@ function init() |
| 54 | 54 |
r = m.top.findNode("updates_right_rect")
|
| 55 | 55 |
r.color = label_color |
| 56 | 56 |
|
| 57 |
- m.logger = CreateObject("roLogger")
|
|
| 57 |
+ ' m.logger = CreateObject("roLogger")
|
|
| 58 | 58 |
|
| 59 | 59 |
m.myTask = CreateObject("roSGNode", "MyTask")
|
| 60 | 60 |
m.myTask.ObserveField("updateText", "onUpdateText")
|
| ... | ... |
@@ -92,7 +92,7 @@ function onUpdateText() as void |
| 92 | 92 |
m.updates.text = m.updates.text + chr(10) + m.myTask.updateText |
| 93 | 93 |
end if |
| 94 | 94 |
print m.myTask.updateText |
| 95 |
- m.logger.logWithID("upperleft", m.myTask.updateText)
|
|
| 95 |
+ ' m.logger.logConsole("upperleft", [m.myTask.updateText])
|
|
| 96 | 96 |
end function |
| 97 | 97 |
|
| 98 | 98 |
|
| ... | ... |
@@ -108,7 +108,7 @@ function updateTextLower(s as String) as void |
| 108 | 108 |
m.updates_lower_array.Push(s) |
| 109 | 109 |
m.updates_lower.text = m.updates_lower_array.Join(chr(10)) |
| 110 | 110 |
print s |
| 111 |
- m.logger.logWithID("lowerleft", s)
|
|
| 111 |
+ ' m.logger.logConsole("lowerleft", [s])
|
|
| 112 | 112 |
end function |
| 113 | 113 |
|
| 114 | 114 |
|
| ... | ... |
@@ -119,7 +119,7 @@ function onUpdateTextRight() as void |
| 119 | 119 |
m.updates_right_array.Push(m.testTask.updateText) |
| 120 | 120 |
m.updates_right.text = m.updates_right_array.Join(chr(10)) |
| 121 | 121 |
print m.testTask.updateText |
| 122 |
- m.logger.logWithID("right", m.testTask.updateText)
|
|
| 122 |
+ ' m.logger.logConsole("right", [m.testTask.updateText])
|
|
| 123 | 123 |
end function |
| 124 | 124 |
|
| 125 | 125 |
|