[gupnp] all: Set log domains for easier filtering



commit 879bd64d386baed4c1466aeaf01330058eee5f2f
Author: Jens Georg <mail jensge org>
Date:   Tue Jun 14 08:10:58 2022 +0200

    all: Set log domains for easier filtering

 libgupnp/gupnp-acl.c                    | 2 ++
 libgupnp/gupnp-context-filter.c         | 2 ++
 libgupnp/gupnp-control-point.c          | 2 ++
 libgupnp/gupnp-device-info.c            | 2 +-
 libgupnp/gupnp-device-proxy.c           | 1 +
 libgupnp/gupnp-device.c                 | 2 ++
 libgupnp/gupnp-resource-factory.c       | 2 ++
 libgupnp/gupnp-root-device.c            | 2 +-
 libgupnp/gupnp-service-action.c         | 2 ++
 libgupnp/gupnp-service-proxy.c          | 2 ++
 libgupnp/gupnp-service.c                | 1 +
 libgupnp/gupnp-simple-context-manager.c | 2 ++
 libgupnp/gupnp-unix-context-manager.c   | 2 ++
 libgupnp/gupnp-xml-doc.c                | 1 +
 14 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/libgupnp/gupnp-acl.c b/libgupnp/gupnp-acl.c
index 6a4cd1b..9be95af 100644
--- a/libgupnp/gupnp-acl.c
+++ b/libgupnp/gupnp-acl.c
@@ -6,6 +6,8 @@
  * SPDX-License-Identifier: LGPL-2.1-or-later
  */
 
+#define G_LOG_DOMAIN "gupnp-acl"
+
 #include <config.h>
 
 #include "gupnp-acl.h"
diff --git a/libgupnp/gupnp-context-filter.c b/libgupnp/gupnp-context-filter.c
index 4b533e1..821e615 100644
--- a/libgupnp/gupnp-context-filter.c
+++ b/libgupnp/gupnp-context-filter.c
@@ -6,6 +6,8 @@
  * SPDX-License-Identifier: LGPL-2.1-or-later
  */
 
+#define G_LOG_DOMAIN "gupnp-context-filter"
+
 #include "gupnp-context-filter.h"
 
 #include <string.h>
diff --git a/libgupnp/gupnp-control-point.c b/libgupnp/gupnp-control-point.c
index c6e12af..aedcdf2 100644
--- a/libgupnp/gupnp-control-point.c
+++ b/libgupnp/gupnp-control-point.c
@@ -7,6 +7,8 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-control-point"
+
 /**
  * GUPnPControlPoint:
  *
diff --git a/libgupnp/gupnp-device-info.c b/libgupnp/gupnp-device-info.c
index ef00920..50ca61a 100644
--- a/libgupnp/gupnp-device-info.c
+++ b/libgupnp/gupnp-device-info.c
@@ -7,7 +7,7 @@
  *
  */
 
-
+#define G_LOG_DOMAIN "gupnp-device-info"
 
 #include <config.h>
 #include <string.h>
diff --git a/libgupnp/gupnp-device-proxy.c b/libgupnp/gupnp-device-proxy.c
index fde10ec..73ab866 100644
--- a/libgupnp/gupnp-device-proxy.c
+++ b/libgupnp/gupnp-device-proxy.c
@@ -7,6 +7,7 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-device-proxy"
 
 #include <config.h>
 #include <string.h>
diff --git a/libgupnp/gupnp-device.c b/libgupnp/gupnp-device.c
index 893a647..14b94a9 100644
--- a/libgupnp/gupnp-device.c
+++ b/libgupnp/gupnp-device.c
@@ -7,6 +7,8 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-device"
+
 #include <config.h>
 #include <string.h>
 
diff --git a/libgupnp/gupnp-resource-factory.c b/libgupnp/gupnp-resource-factory.c
index 3dbfdcf..24d5e92 100644
--- a/libgupnp/gupnp-resource-factory.c
+++ b/libgupnp/gupnp-resource-factory.c
@@ -25,6 +25,8 @@
  * a device proxy type needs to be derived from [class@GUPnP.DeviceProxy]).
  */
 
+#define G_LOG_DOMAIN "gupnp-resource-factory"
+
 #include <config.h>
 #include <string.h>
 
diff --git a/libgupnp/gupnp-root-device.c b/libgupnp/gupnp-root-device.c
index 8430fa9..f57b037 100644
--- a/libgupnp/gupnp-root-device.c
+++ b/libgupnp/gupnp-root-device.c
@@ -7,7 +7,7 @@
  *
  */
 
-
+#define G_LOG_DOMAIN "gupnp-root-device"
 
 #include <config.h>
 #include <string.h>
diff --git a/libgupnp/gupnp-service-action.c b/libgupnp/gupnp-service-action.c
index 6afec90..7568093 100644
--- a/libgupnp/gupnp-service-action.c
+++ b/libgupnp/gupnp-service-action.c
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: LGPL-2.1-or-later
 
+#define G_LOG_DOMAIN "gupnp-service-proxy"
+
 #include <config.h>
 
 #include "gupnp-error.h"
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index a01e2b8..5f410f5 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -7,6 +7,8 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-service-proxy"
+
 #include <config.h>
 #include <libsoup/soup.h>
 #include <gobject/gvaluecollector.h>
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index a24770a..8b92df6 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -7,6 +7,7 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-service"
 
 #include <config.h>
 
diff --git a/libgupnp/gupnp-simple-context-manager.c b/libgupnp/gupnp-simple-context-manager.c
index 29a2a31..6e4cd3a 100644
--- a/libgupnp/gupnp-simple-context-manager.c
+++ b/libgupnp/gupnp-simple-context-manager.c
@@ -10,6 +10,8 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-simple-context-manager"
+
 /**
  * SECTION:gupnp-simple-context-manager
  * @short_description: Abstract implementation of basic #GUPnPContextManager.
diff --git a/libgupnp/gupnp-unix-context-manager.c b/libgupnp/gupnp-unix-context-manager.c
index 37b7c7b..3d67b6a 100644
--- a/libgupnp/gupnp-unix-context-manager.c
+++ b/libgupnp/gupnp-unix-context-manager.c
@@ -9,6 +9,8 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-unix-context-manager"
+
 /**
  * SECTION:gupnp-unix-context-manager
  * @short_description: Unix-specific implementation of #GUPnPContextManager.
diff --git a/libgupnp/gupnp-xml-doc.c b/libgupnp/gupnp-xml-doc.c
index 4c96e9c..627f1a2 100644
--- a/libgupnp/gupnp-xml-doc.c
+++ b/libgupnp/gupnp-xml-doc.c
@@ -10,6 +10,7 @@
  *
  */
 
+#define G_LOG_DOMAIN "gupnp-xml-doc"
 
 #include <config.h>
 #include <string.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]