projects
/
profile
/
ivi
/
message-port.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a813ef2
)
log: Updated dlog usage
author
Amarnath Valluri
<amarnath.valluri@linux.intel.com>
Fri, 1 Nov 2013 11:00:16 +0000
(13:00 +0200)
committer
Amarnath Valluri
<amarnath.valluri@linux.intel.com>
Thu, 7 Nov 2013 15:03:55 +0000
(17:03 +0200)
common/log.h
patch
|
blob
|
history
diff --git
a/common/log.h
b/common/log.h
index
86a0d38
..
8e2bde5
100644
(file)
--- a/
common/log.h
+++ b/
common/log.h
@@
-31,11
+31,10
@@
# include <dlog.h>
-# define __LOG(prio, frmt, args...) print_log(prio, LOG_TAG, "%s +%d:"frmt, __FILE__, __LINE__, ##args)
-# define DBG(frmt, args...)
__LOG(DLOG_DEBUG,
frmt, ##args)
-# define WARN(frmt, args...)
__LOG(DLOG_WARN,
frmt, ##args)
-# define ERR(frmt, args...)
__LOG(DLOG_ERROR,
frmt, ##args)
+# define DBG(frmt, args...)
LOGD(
frmt, ##args)
+# define WARN(frmt, args...)
LOGW(
frmt, ##args)
+# define ERR(frmt, args...)
LOGE(
frmt, ##args)
#else /* USE_DLOG */