Refactor logging logic into new CLogger class

This commit is contained in:
Birunthan Mohanathas
2013-05-29 22:05:41 +03:00
parent c873405422
commit f4429ad8cc
36 changed files with 601 additions and 498 deletions

View File

@ -18,7 +18,8 @@
#include "../../StdAfx.h"
#include "../LuaManager.h"
#include "../../Litestep.h"
#include "../../Logger.h"
#include "../../../Common/StringUtil.h"
static int Print(lua_State* L)
{
@ -53,7 +54,7 @@ static int Print(lua_State* L)
lua_pop(L, 1);
}
Log(LOG_DEBUG, StringUtil::Widen(message).c_str());
CLogger::Debug(StringUtil::Widen(message).c_str());
return 0;
}