src: use a common log domain in the daemon code
glib log domains are not like the gstreamer ones, where you can enable many of them with a wildcard, therefore it is not particularly useful to have different ones per file
This commit is contained in:
@@ -6,8 +6,6 @@
|
|||||||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define G_LOG_DOMAIN "wireplumber-core"
|
|
||||||
|
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
#include "loop-source.h"
|
#include "loop-source.h"
|
||||||
#include "module-loader.h"
|
#include "module-loader.h"
|
||||||
|
@@ -6,8 +6,6 @@
|
|||||||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define G_LOG_DOMAIN "wireplumber-loop"
|
|
||||||
|
|
||||||
#include "loop-source.h"
|
#include "loop-source.h"
|
||||||
|
|
||||||
#define WP_LOOP_SOURCE(x) ((WpLoopSource *) x)
|
#define WP_LOOP_SOURCE(x) ((WpLoopSource *) x)
|
||||||
|
@@ -6,8 +6,6 @@
|
|||||||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define G_LOG_DOMAIN "wireplumber"
|
|
||||||
|
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
|
@@ -8,7 +8,11 @@ wp_sources = [
|
|||||||
|
|
||||||
executable('wireplumber',
|
executable('wireplumber',
|
||||||
wp_sources,
|
wp_sources,
|
||||||
c_args : [ '-D_GNU_SOURCE', '-DG_LOG_USE_STRUCTURED' ],
|
c_args : [
|
||||||
|
'-D_GNU_SOURCE',
|
||||||
|
'-DG_LOG_USE_STRUCTURED',
|
||||||
|
'-DG_LOG_DOMAIN="wireplumber"'
|
||||||
|
],
|
||||||
install: true,
|
install: true,
|
||||||
dependencies : [gobject_dep, gmodule_dep, gio_dep, pipewire_dep, wp_dep],
|
dependencies : [gobject_dep, gmodule_dep, gio_dep, pipewire_dep, wp_dep],
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user