From 58c8f1db909e9210ed67c0ff04cd0e266741740d Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Tue, 14 Jun 2022 17:57:57 +0800 Subject: [PATCH] fixed Log that they didn't use Logger system. --- inc/hgl/log/LogInfo.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/inc/hgl/log/LogInfo.h b/inc/hgl/log/LogInfo.h index e058019..154dfaf 100644 --- a/inc/hgl/log/LogInfo.h +++ b/inc/hgl/log/LogInfo.h @@ -23,15 +23,20 @@ namespace hgl llHint, //提示,不重要,debug状态默认出对话框 llLog //记录一下 };//enum LogLevel + + bool InitLogger(const OSString &app_name); + + void Log(LogLevel level,const u16char *str,int size); + void Log(LogLevel level,const u8char *str,int size); inline void Log(LogLevel ll,const UTF16String &str) { - std::wcout<