From 3c5892053869ed75168f78a68e49f1935a6ecef0 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 3 Jan 2014 22:37:41 -0800 Subject: Few harmless tweaks to debug logging. --- src/Task.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3