diff options
author | chai <chaifix@163.com> | 2021-11-01 12:10:29 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-01 12:10:29 +0800 |
commit | 44d6c41e5e586572de08c72c358aed9100a30353 (patch) | |
tree | a3dee8cbb9f7181c88464b31f231a264c570acd4 /Editor/EditorMain.cpp | |
parent | 78417f6cdedfcf60c8ca437190975644e942e01f (diff) |
*log
Diffstat (limited to 'Editor/EditorMain.cpp')
-rw-r--r-- | Editor/EditorMain.cpp | 4 |
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;
|