Apply new log policy.
authorSangkoo Kim <sangkoo.kim@samsung.com>
Mon, 17 Dec 2012 14:54:52 +0000 (23:54 +0900)
committerSangkoo Kim <sangkoo.kim@samsung.com>
Mon, 17 Dec 2012 14:54:52 +0000 (23:54 +0900)
Change-Id: Ic532b16b8d809e1df3823766c56cffbf81079943

include/utils/MsgDebug.h

index a7f44ec..959f2d9 100755 (executable)
@@ -39,7 +39,8 @@ extern "C"{
                                     DEFINES
 ==================================================================================================*/
 #define USER_TAG "MSG_FW"
-
+#undef LOG_TAG
+#define LOG_TAG "MSG_SERVICE"
 #define MSG_SMS_VALID_TAG "VLD_SMS"
 #define MSG_MMS_VALID_TAG "VLD_MMS"
 
@@ -58,25 +59,25 @@ int get_tid();
 #define MSG_FATAL(fmt, ...) \
        do \
        {\
-               SLOG(LOG_ERROR, USER_TAG, "[%s: %s(): %d] ERROR << " fmt " >>\n\n", rindex(__FILE__, '/')+1,  __FUNCTION__, __LINE__, ##__VA_ARGS__);\
+               SLOGD(" ERROR << " fmt " >>\n\n", ##__VA_ARGS__);\
        } while (0)
 
 #define MSG_DEBUG(fmt, ...)\
        do\
        {\
-               SLOG(LOG_DEBUG, USER_TAG, "[%s: %s(): %d] " fmt"\n\n", rindex(__FILE__, '/')+1,  __FUNCTION__, __LINE__, ##__VA_ARGS__);\
+               SLOGD(fmt"\n\n", ##__VA_ARGS__);\
        } while (0)
 
 #define MSG_BEGIN() \
        do\
     {\
-               SLOG(LOG_DEBUG, USER_TAG, "[%s: %s(): %d] BEGIN >>>> \n\n", rindex(__FILE__, '/')+1,  __FUNCTION__, __LINE__ );\
+               SLOGD(" BEGIN >>>> \n\n");\
     } while( 0 )
 
 #define MSG_END() \
        do\
     {\
-               SLOG(LOG_DEBUG, USER_TAG, "[%s: %s(): %d] END   <<<<  \n\n", rindex(__FILE__, '/')+1,  __FUNCTION__, __LINE__ );\
+               SLOGD(" END   <<<<  \n\n");\
     } \
     while( 0 )