From 44d6c41e5e586572de08c72c358aed9100a30353 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 1 Nov 2021 12:10:29 +0800 Subject: *log --- Editor/EditorMain.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Editor/EditorMain.cpp') 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; -- cgit v1.1-26-g67d0