MCPcopy Create free account
hub / github.com/comaps/comaps / DebugPrint

Function DebugPrint

libs/tracking/protocol.cpp:147–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147string DebugPrint(Protocol::PacketType type)
148{
149 switch (type)
150 {
151 case Protocol::PacketType::Error: return "Error";
152 case Protocol::PacketType::AuthV0: return "AuthV0";
153 case Protocol::PacketType::DataV0: return "DataV0";
154 case Protocol::PacketType::DataV1: return "DataV1";
155 }
156 stringstream ss;
157 ss << "Unknown(" << static_cast<uint32_t>(type) << ")";
158 return ss.str();
159}
160} // namespace tracking

Callers 1

OnTestFailedFunction · 0.50

Calls

no outgoing calls

Tested by 1

OnTestFailedFunction · 0.40