This commit is contained in:
aozhiwei 2020-06-24 13:38:59 +08:00
parent e53cddeed3
commit c866e95bdf

View File

@ -19,6 +19,7 @@ namespace f8
void DumpMsgToLog(f8::MsgHdr& hdr, f8::NetMsgHandler* handler, const char* prefix)
{
return;
::google::protobuf::Message* msg = handler->prototype->New();
bool ok = msg->ParseFromArray(hdr.buf + hdr.offset, hdr.buflen - hdr.offset);
a8::UdpLog::Instance()->Debug
@ -34,6 +35,7 @@ namespace f8
void DumpMsgToLog(const ::google::protobuf::Message& msg, const char* prefix)
{
return;
a8::UdpLog::Instance()->Debug
(
"%s%s %s",