From 51bfe3d8ca09b3f57c526945c40ca2c57072d16e Mon Sep 17 00:00:00 2001 From: Sangkoo Kim Date: Mon, 17 Dec 2012 23:54:52 +0900 Subject: [PATCH] Apply new log policy. Change-Id: Ic532b16b8d809e1df3823766c56cffbf81079943 --- include/utils/MsgDebug.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/utils/MsgDebug.h b/include/utils/MsgDebug.h index a7f44ec..959f2d9 100755 --- a/include/utils/MsgDebug.h +++ b/include/utils/MsgDebug.h @@ -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 ) -- 2.7.4