HGGitLab

Commit 5a659492 authored by luoliangyi's avatar luoliangyi

默认打开日志

parent 2dec8985
...@@ -39,9 +39,9 @@ HGResult HGInfoImpl::Enable() ...@@ -39,9 +39,9 @@ HGResult HGInfoImpl::Enable()
strcat(cfgPath, "HGGlobal.ini"); strcat(cfgPath, "HGGlobal.ini");
HGBool writeLog; HGBool writeLog;
HGBase_GetProfileInt(cfgPath, "Info", "writeLog", 0, &writeLog); HGBase_GetProfileInt(cfgPath, "Info", "writeLog", 1, &writeLog);
HGBool writeConsole; HGBool writeConsole;
HGBase_GetProfileInt(cfgPath, "Info", "writeConsole", 0, &writeConsole); HGBase_GetProfileInt(cfgPath, "Info", "writeConsole", 1, &writeConsole);
HGUInt defType = HGBASE_INFOTYPE_FATAL | HGBASE_INFOTYPE_ERROR | HGBASE_INFOTYPE_WARNING HGUInt defType = HGBASE_INFOTYPE_FATAL | HGBASE_INFOTYPE_ERROR | HGBASE_INFOTYPE_WARNING
| HGBASE_INFOTYPE_DESC | HGBASE_INFOTYPE_DEBUG; | HGBASE_INFOTYPE_DESC | HGBASE_INFOTYPE_DEBUG;
HGBase_GetProfileInt(cfgPath, "Info", "type", (HGInt)defType, (HGInt*)&m_type); HGBase_GetProfileInt(cfgPath, "Info", "type", (HGInt)defType, (HGInt*)&m_type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment