[gupnp] context-manager: Log which implementation we use
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] context-manager: Log which implementation we use
- Date: Fri, 2 Nov 2018 18:19:03 +0000 (UTC)
commit 9b0fd7cdc59f2689124be4d233ae0b61f79130a7
Author: Jens Georg <mail jensge org>
Date: Fri Nov 2 19:17:24 2018 +0100
context-manager: Log which implementation we use
libgupnp/gupnp-context-manager.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c
index c4ff41d..1a2ad8b 100644
--- a/libgupnp/gupnp-context-manager.c
+++ b/libgupnp/gupnp-context-manager.c
@@ -34,6 +34,8 @@
* Since: 0.13.0
*/
+#define G_LOG_DOMAIN "gupnp-context-manager"
+
#include <config.h>
#include <errno.h>
#include <string.h>
@@ -534,6 +536,9 @@ gupnp_context_manager_create (guint port)
#endif
}
#endif /* G_OS_WIN32 */
+
+ g_debug ("Using context manager implementation %s",
+ g_type_name (impl_type));
impl = GUPNP_CONTEXT_MANAGER (g_object_new (impl_type,
"port", port,
NULL));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]