HGDll模块增加日志

This commit is contained in:
luoliangyi 2022-08-09 11:41:22 +08:00
parent 3b1c31a78a
commit d163b69f4b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ HGResult HGAPI HGBase_CreateDll(const HGChar* fileName, HGDll* dll)
void* hDll = dlopen(fileName, RTLD_LAZY);
if (NULL == hDll)
{
printf("%s\n", dlerror());
HGBase_WriteInfo(HGBASE_INFOTYPE_DESC, "dlopen Failed, err=%s", dlerror());
return HGBASE_ERR_FAIL;
}
#else