protocol-native: improve logging

Add an end marker in the log for the message.
Log the output messages with the right log topic.
This commit is contained in:
Wim Taymans 2022-10-27 18:04:14 +02:00
parent 855bebf0ea
commit f0328a1f8d
2 changed files with 7 additions and 1 deletions

View file

@ -228,6 +228,9 @@ static void debug_msg(const char *prefix, const struct pw_protocol_native_messag
hex = true;
if (hex)
spa_debug_mem(0, msg->data, msg->size);
pw_logt_debug(mod_topic_connection, "%s ****", prefix);
}
static void pre_demarshal(struct pw_protocol_native_connection *conn,