Remove and add log messages

This commit is contained in:
Edouard Dupin 2012-03-14 18:31:26 +01:00
parent b67efa06c6
commit 9d793d6d29
3 changed files with 6 additions and 5 deletions

View File

@ -100,7 +100,7 @@ static void MultiCastSend(ewol::EObject* object, const char* const message, etk:
&& m_messageList[iii].object != object)
{
if (NULL != m_messageList[iii].object) {
EWOL_DEBUG(" id = " << m_messageList[iii].object->GetId());
EWOL_DEBUG(" id = " << m_messageList[iii].object->GetId() << " type=" << m_messageList[iii].object->GetObjectType());
// generate event ...
m_messageList[iii].object->OnReceiveMessage(object, m_messageList[iii].message, data);
}

View File

@ -129,10 +129,11 @@ void ewol::EObjectManager::MarkToRemoved(ewol::EObject* object)
}
}
if (-1 == findId) {
EWOL_CRITICAL("Try to mark remove an object already removed (or not registerd [imposible case])");
EWOL_CRITICAL("Try to mark remove an object already removed (or not registerd [imposible case]) ==> requested for EObject : [" << object->GetId() << "] type=" << object->GetObjectType());
return;
}
m_eObjectList.Erase(findId);
EWOL_DEBUG("MarkToRemoved EObject : [" << object->GetId() << "] type=" << object->GetObjectType());
m_eObjectDeletedList.PushBack(object);
// Informe all EObject to remove reference of this one ...
informOneObjectIsRemoved(object);

View File

@ -144,7 +144,7 @@ void ewol::oobject::e2d::LoadFile(etk::File file)
sscanf(yyy, "%lf", &posY);
pos.x = posX;
pos.y = posY;
EWOL_DEBUG("load dot : " << xxx << "," << yyy << " ==>" << pos);
EWOL_VERBOSE("load dot : " << xxx << "," << yyy << " ==>" << pos);
m_dotList.PushBack(pos);
}
} else if (!strcmp(pGuiNode->Value(), "link")) {
@ -180,8 +180,8 @@ void ewol::oobject::e2d::LoadFile(etk::File file)
localLink.color[kkk].alpha = (float)a/255.0;
}
}
EWOL_DEBUG("load link : [" << localLink.dot[0] << "," << localLink.dot[1] << "," << localLink.dot[2] << "] ");
EWOL_DEBUG(" col: [" << localLink.color[0] << "," << localLink.color[1] << "," << localLink.color[2] << "] ");
EWOL_VERBOSE("load link : [" << localLink.dot[0] << "," << localLink.dot[1] << "," << localLink.dot[2] << "] ");
EWOL_VERBOSE(" col: [" << localLink.color[0] << "," << localLink.color[1] << "," << localLink.color[2] << "] ");
m_linkList.PushBack(localLink);
}
} else {