diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2013-06-13 11:06:41 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2013-06-13 11:06:47 +0900 |
commit | 65d64ab8aa9c4580c025703fafe74e46b5f00f58 (patch) | |
tree | 7aa022cc127559071a51aebe5a2d1bac196e0ef3 | |
parent | 4571ddae70eceb369f37bdaeb219679bd6c3d3ad (diff) | |
parent | 2fc303a1eb3b1a9b6be18be15107e92eab738f53 (diff) | |
download | livebox-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.h | 16 |
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("[[32m%s/%s[0m:%d] " format, basename(__FILE__), __func__, __LINE__, ##arg) -#define ErrPrint(format, arg...) LOGE("[[32m%s/%s[0m:%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("[[32m%s/%s[0m:%d] " format, basename(__FILE__), __func__, __LINE__, ##arg) +#define ErrPrint(format, arg...) SECURE_LOGE("[[32m%s/%s[0m:%d] " format, basename(__FILE__), __func__, __LINE__, ##arg) /* End of a file */ |