summaryrefslogtreecommitdiff
path: root/telepathy-glib/debug.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-04-30 16:12:19 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-04-30 16:17:44 +0100
commiteafb834d52d0cb68c2c58b4335ef46c30d4284c1 (patch)
tree2339b16f35efe560a82a8b81bf3124de5572e7b6 /telepathy-glib/debug.c
parentee4e5d90c6f9806b2c311336e38ee6976540d504 (diff)
downloadtelepathy-glib-eafb834d52d0cb68c2c58b4335ef46c30d4284c1.tar.gz
Introduce a "misc" debug domain for util, dbus etc.
Diffstat (limited to 'telepathy-glib/debug.c')
-rw-r--r--telepathy-glib/debug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/telepathy-glib/debug.c b/telepathy-glib/debug.c
index f386e751c..3c4f374ad 100644
--- a/telepathy-glib/debug.c
+++ b/telepathy-glib/debug.c
@@ -33,6 +33,7 @@
* are subject to change, but currently include:
*
* <itemizedlist>
+ * <listitem><literal>misc</literal> - low-level utility code</listitem>
* <listitem><literal>manager</literal> -
* #TpConnectionManager (client)</listitem>
* <listitem><literal>connection</literal> - #TpBaseConnection (service)
@@ -95,6 +96,7 @@ tp_debug_set_all_flags (void)
}
static GDebugKey keys[] = {
+ { "misc", TP_DEBUG_MISC },
{ "groups", TP_DEBUG_GROUPS },
{ "properties", TP_DEBUG_PROPERTIES },
{ "connection", TP_DEBUG_CONNECTION },
@@ -124,8 +126,7 @@ typedef struct {
* domain for each debug message logged, and then g_free() to free the newly
* created string... */
static DebugKeyToDomain key_to_domain[] = {
- /* There is no 1 << 0 */
- { 0, G_LOG_DOMAIN "/misc" },
+ { TP_DEBUG_MISC, G_LOG_DOMAIN "/misc" },
{ TP_DEBUG_GROUPS, G_LOG_DOMAIN "/groups" },
{ TP_DEBUG_PROPERTIES, G_LOG_DOMAIN "/properties" },
{ TP_DEBUG_IM, G_LOG_DOMAIN "/im" },