summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-06-13 11:06:41 +0900
committerSung-jae Park <nicesj.park@samsung.com>2013-06-13 11:06:47 +0900
commit65d64ab8aa9c4580c025703fafe74e46b5f00f58 (patch)
tree7aa022cc127559071a51aebe5a2d1bac196e0ef3
parent4571ddae70eceb369f37bdaeb219679bd6c3d3ad (diff)
parent2fc303a1eb3b1a9b6be18be15107e92eab738f53 (diff)
downloadlivebox-cpp-65d64ab8aa9c4580c025703fafe74e46b5f00f58.tar.gz
livebox-cpp-65d64ab8aa9c4580c025703fafe74e46b5f00f58.tar.bz2
livebox-cpp-65d64ab8aa9c4580c025703fafe74e46b5f00f58.zip
Merge branch 'tizen_2.1' into tizen_2.2
Change-Id: I43b348eb84a98492b80a718c9cb311c2b93c985e
-rw-r--r--include/debug.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/include/debug.h b/include/debug.h
index 5904b4c..7583ba9 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -14,6 +14,18 @@
* limitations under the License.
*/
-#define DbgPrint(format, arg...) LOGD("[%s/%s:%d] " format, basename(__FILE__), __func__, __LINE__, ##arg)
-#define ErrPrint(format, arg...) LOGE("[%s/%s:%d] " format, basename(__FILE__), __func__, __LINE__, ##arg)
+#if !defined(SECURE_LOGD)
+#define SECURE_LOGD LOGD
+#endif
+
+#if !defined(SECURE_LOGE)
+#define SECURE_LOGE LOGE
+#endif
+
+#if !defined(SECURE_LOGW)
+#define SECURE_LOGW LOGW
+#endif
+
+#define DbgPrint(format, arg...) SECURE_LOGD("[%s/%s:%d] " format, basename(__FILE__), __func__, __LINE__, ##arg)
+#define ErrPrint(format, arg...) SECURE_LOGE("[%s/%s:%d] " format, basename(__FILE__), __func__, __LINE__, ##arg)
/* End of a file */