mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
implement custom protobuf debug string creation (#4532)
* implement custom protobuf debug log string creation * add version guards * add missing header * debian10 repository misses headers * clean up logging messages a bit * fix some more formatting on debug messages
This commit is contained in:
parent
eb3ce1fd7e
commit
7108eb42c8
10 changed files with 178 additions and 51 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "isl_interface.h"
|
||||
|
||||
#include "debug_pb_message.h"
|
||||
#include "get_pb_extension.h"
|
||||
#include "main.h"
|
||||
#include "pb/event_game_joined.pb.h"
|
||||
|
|
@ -437,7 +438,7 @@ void IslInterface::processRoomCommand(const CommandContainer &cont, qint64 sessi
|
|||
|
||||
void IslInterface::processMessage(const IslMessage &item)
|
||||
{
|
||||
qDebug() << QString::fromStdString(item.DebugString());
|
||||
qDebug() << getSafeDebugString(item);
|
||||
|
||||
switch (item.message_type()) {
|
||||
case IslMessage::ROOM_COMMAND_CONTAINER: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue