summaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-02-26 05:26:36 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-02-26 05:26:36 +0100
commit46a64b472133cce416bd49e00a2cd3c7a2bd7c53 (patch)
treea3d0eb23972ac3ec6cc5d8b4eed32cd03c491a4c /include/log.h
parentdafd72419a43e2b5a0243d4b61372ca83747883f (diff)
downloadconnman-46a64b472133cce416bd49e00a2cd3c7a2bd7c53.tar.gz
connman-46a64b472133cce416bd49e00a2cd3c7a2bd7c53.tar.bz2
connman-46a64b472133cce416bd49e00a2cd3c7a2bd7c53.zip
Include function name in debug message
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h
index e87e38ad..bf0dab50 100644
--- a/include/log.h
+++ b/include/log.h
@@ -26,7 +26,7 @@
extern "C" {
#endif
-#define DBG(fmt, arg...) connman_debug(fmt, ## arg)
+#define DBG(fmt, arg...) connman_debug("%s: " fmt, __FUNCTION__ , ## arg)
extern void connman_info(const char *format, ...);
extern void connman_error(const char *format, ...);