From dbb829be06ce6c7649c00d498d202c4936b23f84 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 18 Jun 2021 11:10:36 +0200 Subject: [PATCH] debug: Add G_LOG_DOMAIN to every file using g_debug() --- plugins/dummy/calls-dummy-provider.c | 2 ++ plugins/mm/calls-mm-call.c | 2 ++ plugins/mm/calls-mm-origin.c | 2 ++ plugins/mm/calls-mm-provider.c | 2 ++ plugins/ofono/calls-ofono-call.c | 2 ++ plugins/ofono/calls-ofono-origin.c | 2 ++ plugins/ofono/calls-ofono-provider.c | 2 ++ plugins/sip/gst-rfc3551.c | 2 +- src/calls-account-provider.c | 2 ++ src/calls-application.c | 2 ++ src/calls-call-window.c | 2 ++ src/calls-manager.c | 2 ++ src/calls-new-call-box.c | 2 ++ src/calls-provider.c | 2 ++ src/calls-record-store.c | 2 ++ 15 files changed, 29 insertions(+), 1 deletion(-) diff --git a/plugins/dummy/calls-dummy-provider.c b/plugins/dummy/calls-dummy-provider.c index 4dd7152..01094e8 100644 --- a/plugins/dummy/calls-dummy-provider.c +++ b/plugins/dummy/calls-dummy-provider.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsDummyProvider" + #include "calls-dummy-provider.h" #include "calls-message-source.h" #include "calls-provider.h" diff --git a/plugins/mm/calls-mm-call.c b/plugins/mm/calls-mm-call.c index af83e4b..119ef5e 100644 --- a/plugins/mm/calls-mm-call.c +++ b/plugins/mm/calls-mm-call.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsMMCall" + #include "calls-mm-call.h" #include "calls-call.h" #include "calls-message-source.h" diff --git a/plugins/mm/calls-mm-origin.c b/plugins/mm/calls-mm-origin.c index b971912..647a4e2 100644 --- a/plugins/mm/calls-mm-origin.c +++ b/plugins/mm/calls-mm-origin.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsMMOrigin" + #include "calls-mm-origin.h" #include "calls-origin.h" #include "calls-ussd.h" diff --git a/plugins/mm/calls-mm-provider.c b/plugins/mm/calls-mm-provider.c index 017b106..978b938 100644 --- a/plugins/mm/calls-mm-provider.c +++ b/plugins/mm/calls-mm-provider.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsMMProvider" + #include "calls-mm-provider.h" #include "calls-provider.h" #include "calls-mm-origin.h" diff --git a/plugins/ofono/calls-ofono-call.c b/plugins/ofono/calls-ofono-call.c index 9d521dc..542c843 100644 --- a/plugins/ofono/calls-ofono-call.c +++ b/plugins/ofono/calls-ofono-call.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsOfonoCall" + #include "calls-ofono-call.h" #include "calls-call.h" #include "calls-message-source.h" diff --git a/plugins/ofono/calls-ofono-origin.c b/plugins/ofono/calls-ofono-origin.c index bc225e7..a97cfff 100644 --- a/plugins/ofono/calls-ofono-origin.c +++ b/plugins/ofono/calls-ofono-origin.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsOfonoOrigin" + #include "calls-ofono-origin.h" #include "calls-origin.h" #include "calls-ofono-call.h" diff --git a/plugins/ofono/calls-ofono-provider.c b/plugins/ofono/calls-ofono-provider.c index ba9e510..835834d 100644 --- a/plugins/ofono/calls-ofono-provider.c +++ b/plugins/ofono/calls-ofono-provider.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsOfonoProvider" + #include "calls-ofono-provider.h" #include "calls-provider.h" #include "calls-ofono-origin.h" diff --git a/plugins/sip/gst-rfc3551.c b/plugins/sip/gst-rfc3551.c index b8b68be..139432c 100644 --- a/plugins/sip/gst-rfc3551.c +++ b/plugins/sip/gst-rfc3551.c @@ -22,7 +22,7 @@ * */ -#define G_LOG_DOMAIN "CallsSipMediaManager" +#define G_LOG_DOMAIN "CallsGstRfc3551" #include "gst-rfc3551.h" diff --git a/src/calls-account-provider.c b/src/calls-account-provider.c index 322ee81..606d83c 100644 --- a/src/calls-account-provider.c +++ b/src/calls-account-provider.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsAccountProvider" + #include "calls-account-provider.h" /** diff --git a/src/calls-application.c b/src/calls-application.c index a994ede..05a7c7c 100644 --- a/src/calls-application.c +++ b/src/calls-application.c @@ -25,6 +25,8 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +#define G_LOG_DOMAIN "CallsApplication" + #include "config.h" #include "calls-dbus-manager.h" #include "calls-history-box.h" diff --git a/src/calls-call-window.c b/src/calls-call-window.c index 5a0f5ff..1f49cf2 100644 --- a/src/calls-call-window.c +++ b/src/calls-call-window.c @@ -24,6 +24,8 @@ * */ +#define G_LOG_DOMAIN "CallsCallWindow" + #include "calls-call-window.h" #include "calls-origin.h" #include "calls-call-selector-item.h" diff --git a/src/calls-manager.c b/src/calls-manager.c index 13cbfa3..621f8d0 100644 --- a/src/calls-manager.c +++ b/src/calls-manager.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsManager" + #include "config.h" #include "calls-application.h" diff --git a/src/calls-new-call-box.c b/src/calls-new-call-box.c index 2b01db5..91c7691 100644 --- a/src/calls-new-call-box.c +++ b/src/calls-new-call-box.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsNewCallBox" + #include "calls-application.h" #include "calls-new-call-box.h" #include "calls-ussd.h" diff --git a/src/calls-provider.c b/src/calls-provider.c index 06b1b0a..f58383a 100644 --- a/src/calls-provider.c +++ b/src/calls-provider.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsProvider" + #include "calls-provider.h" #include "calls-origin.h" #include "calls-message-source.h" diff --git a/src/calls-record-store.c b/src/calls-record-store.c index 356171e..4fcb520 100644 --- a/src/calls-record-store.c +++ b/src/calls-record-store.c @@ -22,6 +22,8 @@ * */ +#define G_LOG_DOMAIN "CallsRecordStore" + #include "calls-record-store.h" #include "calls-call-record.h" #include "calls-manager.h"