mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-01 15:07:58 +02:00
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:
parent
6f740a2a13
commit
a8450b0f02
4 changed files with 5 additions and 7 deletions
|
|
@ -6,8 +6,6 @@
|
|||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "wireplumber-core"
|
||||
|
||||
#include "core.h"
|
||||
#include "loop-source.h"
|
||||
#include "module-loader.h"
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "wireplumber-loop"
|
||||
|
||||
#include "loop-source.h"
|
||||
|
||||
#define WP_LOOP_SOURCE(x) ((WpLoopSource *) x)
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "wireplumber"
|
||||
|
||||
#include "core.h"
|
||||
#include "utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@ wp_sources = [
|
|||
|
||||
executable('wireplumber',
|
||||
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,
|
||||
dependencies : [gobject_dep, gmodule_dep, gio_dep, pipewire_dep, wp_dep],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue