用户您好,请详细描述您所遇到的问题,详细的描述有助于帮助我们快速定位,解决问题~Thanks♪(・ω・)ノ
3. 问题模块: 【communicaton模块】
在writer_base 增加的日志,不清楚是为何调试时未输出,强制返回false也未生效。编译后的如下几个库已copy到测试程序可执行文件同一目录中.
libcommunication-static.a libcommunication.so libcommunication.so.4 libcommunication.so.4.10.5
5. 示例代码:

bool WriterBase::IsNeedSerialize(
const std::vector> &participants) {
// 强制不适用序列化
COHLOGE("WriterBase::IsNeedSerialize , force not use serialize ......");
bool need_serialize{false};
for (auto &elem : participants) {
if (elem->GetDataWriter() && elem->GetDataWriter()->IsNeedSerialize()) {
need_serialize = true;
break;
}
}
return need_serialize;
}
bool WriterBase::IsNeedSerialize(std::shared_ptr participant) {
// 强制不适用序列化
return false;
if (!participant->GetDataWriter()) {
COHLOGE("WriterBase::IsNeedSerialize , data writer obj is null ......");
return false;
}
COHLOGE("WriterBase::IsNeedSerialize , data writer obj is not null ......");
}
6. log文件(目前暂不支持附件上传,请通过百度网盘上传后贴链接):

