summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-01-03 22:37:41 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-01-03 22:37:41 -0800
commit3c5892053869ed75168f78a68e49f1935a6ecef0 (patch)
tree9390fb11d03878d9fc4939e231acd58c13d77295 /src
parent2cb567edc01a251bd6e3216113313b0c94bced95 (diff)
Few harmless tweaks to debug logging.
Diffstat (limited to 'src')
-rw-r--r--src/Task.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Task.cc b/src/Task.cc
index 9b15062..85cdafe 100644
--- a/src/Task.cc
+++ b/src/Task.cc
@@ -222,12 +222,12 @@ void Balau::Task::sleep(double timeout) {
}
void Balau::Events::BaseEvent::doSignal() {
- Printer::elog(E_TASK, "Event at %p (%s) is signaled with cb %p and task %p", this, ClassName(this).c_str(), m_cb, m_task);
+ Printer::elog(E_EVENT, "Event at %p (%s) is signaled with cb %p and task %p", this, ClassName(this).c_str(), m_cb, m_task);
m_signal = true;
if (m_cb)
m_cb->gotEvent(this);
if (m_task) {
- Printer::elog(E_TASK, "Signaling task %p (%s - %s)", m_task, m_task->getName(), ClassName(m_task).c_str());
+ Printer::elog(E_EVENT, "Signaling task %p (%s - %s)", m_task, m_task->getName(), ClassName(m_task).c_str());
m_task->getTaskMan()->signalTask(m_task);
}
}
@@ -285,7 +285,7 @@ void Balau::Events::TaskEvent::ack() {
break;
}
}
- Printer::elog(E_TASK, "TaskEvent at %p being ack; removing from the 'waited by' list of %p (%s - %s); deleted = %s", this, t, t->getName(), ClassName(t).c_str(), deleted ? "true" : "false");
+ Printer::elog(E_EVENT, "TaskEvent at %p being ack; removing from the 'waited by' list of %p (%s - %s); deleted = %s", this, t, t->getName(), ClassName(t).c_str(), deleted ? "true" : "false");
t->m_eventLock.leave();
t = NULL;
IAssert(deleted, "We didn't find task %p in the waitedBy lists... ?", this);