mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
log: add pw_log_topic_custom_enabled()
Add a function to check if a specfic custom log level has been defined for a topic. We can use this to dynamically check if we need to do the connection debug messages. We can also get rid of the conn.* pattern hack to disable connection messages by default.
This commit is contained in:
parent
5152c98789
commit
a3c6b3acae
8 changed files with 14 additions and 22 deletions
|
|
@ -82,8 +82,6 @@ void impl_add_listener(struct impl *impl,
|
|||
struct spa_hook *listener,
|
||||
const struct impl_events *events, void *data);
|
||||
|
||||
extern bool debug_messages;
|
||||
|
||||
void broadcast_subscribe_event(struct impl *impl, uint32_t mask, uint32_t event, uint32_t id);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue