modules: use the new topic-based logging from various pipewire modules

This commit is contained in:
Peter Hutterer 2021-09-16 15:35:10 +10:00 committed by Wim Taymans
parent e9d869b46f
commit 14112fd168
29 changed files with 228 additions and 80 deletions

View file

@ -33,6 +33,11 @@
#include "spa-node.h"
#define NAME "spa-node"
PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
#define PW_LOG_TOPIC_DEFAULT mod_topic
#define MODULE_USAGE "<factory> [key=value ...]"
static const struct spa_dict_item module_props[] = {
@ -72,6 +77,8 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
struct pw_impl_node *node;
struct node_data *data;
PW_LOG_TOPIC_INIT(mod_topic);
if (args == NULL)
goto error_arguments;