summaryrefslogtreecommitdiff
path: root/gobex/gobex-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'gobex/gobex-debug.h')
-rw-r--r--gobex/gobex-debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobex/gobex-debug.h b/gobex/gobex-debug.h
index 589104e13..14faa1087 100644
--- a/gobex/gobex-debug.h
+++ b/gobex/gobex-debug.h
@@ -37,8 +37,8 @@ extern guint gobex_debug;
#define g_obex_debug(level, format, ...) \
if (gobex_debug & level) \
- g_debug("%s:%s() " format, __FILE__, __FUNCTION__, \
- ## __VA_ARGS__)
+ g_log("gobex", G_LOG_LEVEL_DEBUG, "%s:%s() " format, __FILE__, \
+ __FUNCTION__, ## __VA_ARGS__)
static inline void g_obex_dump(const char *prefix, const void *buf,
gsize len)