*Change some log level.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-08 10:12:12 -06:00
parent 3fc9224338
commit 70e1f12b16
3 changed files with 5 additions and 5 deletions

View File

@@ -1428,17 +1428,15 @@ void World::RecordTimeDiff(const char *text, ...)
return;
}
sLog.outDebugInLine("Difftime ");
uint32 thisTime = getMSTime();
va_list ap;
char str [256];
va_start(ap, text);
vsnprintf(str,256,text, ap );
va_end(ap);
sLog.outDebugInLine(str);
sLog.outDetail("Difftime %s: %u.", str, getMSTimeDiff(m_currentTime, thisTime));
uint32 thisTime = getMSTime();
sLog.outDebug(": %u.", getMSTimeDiff(m_currentTime, thisTime));
m_currentTime = thisTime;
}