pulse-server: add category for connection debug

Use a new conn. topic to debug the messages. These are disabled by
default.
This commit is contained in:
Wim Taymans 2022-12-14 16:40:58 +01:00
parent 34973eac89
commit 72bee99f87
3 changed files with 8 additions and 2 deletions

View file

@ -305,6 +305,7 @@
PW_LOG_TOPIC(mod_topic, "mod." NAME);
#define PW_LOG_TOPIC_DEFAULT mod_topic
PW_LOG_TOPIC(pulse_conn, "conn." NAME);
PW_LOG_TOPIC(pulse_ext_dev_restore, "mod." NAME ".device-restore");
PW_LOG_TOPIC(pulse_ext_stream_restore, "mod." NAME ".stream-restore");
@ -354,6 +355,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
int res;
PW_LOG_TOPIC_INIT(mod_topic);
PW_LOG_TOPIC_INIT(pulse_conn);
/* it's easier to init these here than adding an init() call to the
* extensions */
PW_LOG_TOPIC_INIT(pulse_ext_dev_restore);