1
This commit is contained in:
parent
e53cddeed3
commit
c866e95bdf
@ -19,6 +19,7 @@ namespace f8
|
|||||||
|
|
||||||
void DumpMsgToLog(f8::MsgHdr& hdr, f8::NetMsgHandler* handler, const char* prefix)
|
void DumpMsgToLog(f8::MsgHdr& hdr, f8::NetMsgHandler* handler, const char* prefix)
|
||||||
{
|
{
|
||||||
|
return;
|
||||||
::google::protobuf::Message* msg = handler->prototype->New();
|
::google::protobuf::Message* msg = handler->prototype->New();
|
||||||
bool ok = msg->ParseFromArray(hdr.buf + hdr.offset, hdr.buflen - hdr.offset);
|
bool ok = msg->ParseFromArray(hdr.buf + hdr.offset, hdr.buflen - hdr.offset);
|
||||||
a8::UdpLog::Instance()->Debug
|
a8::UdpLog::Instance()->Debug
|
||||||
@ -34,6 +35,7 @@ namespace f8
|
|||||||
|
|
||||||
void DumpMsgToLog(const ::google::protobuf::Message& msg, const char* prefix)
|
void DumpMsgToLog(const ::google::protobuf::Message& msg, const char* prefix)
|
||||||
{
|
{
|
||||||
|
return;
|
||||||
a8::UdpLog::Instance()->Debug
|
a8::UdpLog::Instance()->Debug
|
||||||
(
|
(
|
||||||
"%s%s %s",
|
"%s%s %s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user