Apply Secure Log
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 3 Jun 2013 05:52:09 +0000 (14:52 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 3 Jun 2013 05:52:09 +0000 (14:52 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Secure Log is not applied
[cause] N/A
[solution] Apply Secure Log
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I0db22ff0472937394d8b3d1183ec2aeaebf02b87

include/debug.h

index 1a06d11..40f8e07 100644 (file)
@@ -16,8 +16,8 @@
 */
 
 #if !defined(FLOG)
-#define DbgPrint(format, arg...)       LOGD("[\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg)
-#define ErrPrint(format, arg...)       LOGE("[\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg)
+#define DbgPrint(format, arg...)       SECURE_LOGD("[\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg)
+#define ErrPrint(format, arg...)       SECURE_LOGE("[\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg)
 #else
 extern FILE *__file_log_fp;
 #define DbgPrint(format, arg...) do { fprintf(__file_log_fp, "[LOG] [\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg); fflush(__file_log_fp); } while (0)