summaryrefslogtreecommitdiff
path: root/Editor/EditorMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/EditorMain.cpp')
-rw-r--r--Editor/EditorMain.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Editor/EditorMain.cpp b/Editor/EditorMain.cpp
index 289eed4..45ac81a 100644
--- a/Editor/EditorMain.cpp
+++ b/Editor/EditorMain.cpp
@@ -15,7 +15,7 @@ using namespace LuaBind;
void ErrorHandle(cc8* msg)
{
- log_error(std::string("[Lua] ") + msg);
+ log_error("[Lua] %s", msg);
}
void TestFont()
@@ -68,6 +68,8 @@ int main()
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
#endif
{
+ log_info("log_info_c test, %s %d", "hello", 3);
+
WindowUtil::RegisterClasses();
LuaBind::VM vm;