projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e1ef0
)
Include filename in debug output
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 20 Apr 2008 07:48:56 +0000
(09:48 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 20 Apr 2008 07:48:56 +0000
(09:48 +0200)
include/log.h
patch
|
blob
|
history
diff --git
a/include/log.h
b/include/log.h
index
ec0d648
..
8a0b5a5
100644
(file)
--- a/
include/log.h
+++ b/
include/log.h
@@
-26,12
+26,12
@@
extern "C" {
#endif
-#define DBG(fmt, arg...) connman_debug("%s: " fmt, __FUNCTION__ , ## arg)
-
extern void connman_info(const char *format, ...);
extern void connman_error(const char *format, ...);
extern void connman_debug(const char *format, ...);
+#define DBG(fmt, arg...) connman_debug("%s:%s() " fmt, __FILE__, __FUNCTION__ , ## arg)
+
#ifdef __cplusplus
}
#endif