From: Sangkoo Kim Date: Mon, 17 Dec 2012 14:54:52 +0000 (+0900) Subject: Apply new log policy. X-Git-Tag: accepted/tizen_2.1/20130425.035101~14^2~23^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51bfe3d8ca09b3f57c526945c40ca2c57072d16e;p=framework%2Fmessaging%2Fmsg-service.git Apply new log policy. Change-Id: Ic532b16b8d809e1df3823766c56cffbf81079943 --- 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 )