Revert "Changed some couts and asserts to use SHLOG"

This reverts commit 78d13c0ab8.
This commit is contained in:
maverickdgg 2022-10-01 16:37:47 +08:00
parent 78d13c0ab8
commit 5aee22a5e3
5 changed files with 5 additions and 7 deletions

View File

@ -439,7 +439,7 @@ namespace SHADE
{
if ((templateIDs[i] == oID))
{
SHLOG_WARNING("Component type already owned by another component group");
assert("This Component is owned by another group");
}
}
}

View File

@ -88,8 +88,7 @@ namespace SHADE
if (!entityVec[eIndex])
{
//There is still an entity stored there.Something went wrong
SHLOG_CRITICAL("FATAL ERROR: Entity Creation error. Entity index conflict.")
assert("FATAL ERROR: Entity Creation error. Entity Index Conflict");
}
//Reset it to a newly constructed entity

View File

@ -119,7 +119,7 @@ namespace SHADE
if (!entityVec[eIndex])
{
//There is still an entity stored there.Something went wrong
SHLOG_CRITICAL("FATAL ERROR: Entity Creation error. Entity index conflict.")
assert("FATAL ERROR: Entity Creation error. Entity Index Conflict");
}
//Reset it to a newly constructed entity

View File

@ -29,7 +29,7 @@ namespace SHADE
{
system.second->Init();
#ifdef _DEBUG
SHLOG_INFO("{} Init", system.first);
std::cout << system.first << " Init" << std::endl;
#endif
}
}

View File

@ -94,8 +94,7 @@ namespace SHADE
if (systemContainer.find(id) == systemContainer.end())
{
SHLOG_WARNING("System Manager warning: System Version {} does not exist. Returning as nullptr", version)
std::cout << "System Manager error: System Version " << version << " does not exit." << std::endl;
return nullptr;
}