mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 17:08:01 +02:00
debug: use the "default" domain to log messages without a domain
This allows filtering messages without a domain using WIREPLUMBER_DEBUG
This commit is contained in:
parent
9ca342f89f
commit
78cdf4b8e6
1 changed files with 4 additions and 1 deletions
|
|
@ -246,8 +246,11 @@ wp_log_writer_default (GLogLevelFlags log_level,
|
|||
|
||||
extract_common_fields (&cf, fields, n_fields);
|
||||
|
||||
if (!cf.log_domain)
|
||||
cf.log_domain = "default";
|
||||
|
||||
/* check if debug category is enabled */
|
||||
if (cf.log_domain && enabled_categories) {
|
||||
if (enabled_categories) {
|
||||
GPatternSpec **cat = enabled_categories;
|
||||
guint len;
|
||||
g_autofree gchar *reverse_domain = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue