HGDll模块增加日志
This commit is contained in:
parent
3b1c31a78a
commit
d163b69f4b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue