HarmonyOS 鸿蒙Next Native层在调用OH_LOG_Print时只打印了<private>
HarmonyOS 鸿蒙Next Native层在调用OH_LOG_Print时只打印了<private>
RT,在调用OH_LOG_Print时,使用std::string的c_str()方法传入,然后日志打印出来只有<private>
,应该如何处理?
OH_LOG_Print(LOG_APP, LOG_INFO, 0, "SDK", "%s", message.c_str());
);
更多关于HarmonyOS 鸿蒙Next Native层在调用OH_LOG_Print时只打印了<private>的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html