Removed color log which is not supported in Tizen 3.0 47/73647/1
authorYounho Park <younho.park@samsung.com>
Thu, 9 Jun 2016 05:09:47 +0000 (14:09 +0900)
committerYounho Park <younho.park@samsung.com>
Thu, 9 Jun 2016 05:09:47 +0000 (14:09 +0900)
Change-Id: I3a3b12099e692609d89e2d1248ca40518c50572a
Signed-off-by: Younho Park <younho.park@samsung.com>
adaptor/auth-adaptor/auth-adaptor-log.h
adaptor/contact-adaptor/contact-adaptor-log.h
adaptor/message-adaptor/message-adaptor-log.h
adaptor/push-adaptor/push-adaptor-log.h
adaptor/shop-adaptor/shop-adaptor-log.h
adaptor/storage-adaptor/storage-adaptor-log.h
api/client/include/service_adaptor_client_log.h
common/plugin_config/libservice_plugin_log.h
common/plugin_config/pluginConfigLog.h
common/plugin_config/plugin_message.c
server/inc/service-adaptor-log.h

index 33a1d53a86bdb1d59e2d8a73b96505077fca25a5..19d49bed14086de7ae671c7fcfe94dac38955eae 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
        /**
         *  Colors of font
         */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
        /**
         *  Gets thread ID
index 31161baee6fe99a192a8310f537bb4616501feb3..de5d50147c2e5cf762d860a011742c1d486acd65 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
        /**
         *  Colors of font
         */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
        /**
         *  Gets thread ID
index 7e56c6960ecdbac75bd2f3bd6deb5f31a34e1379..a282559af4dfefc52e2f33abd52274e9286a3e9e 100644 (file)
@@ -70,23 +70,43 @@ extern "C"
        /**\r
         *  Colors of font\r
         */\r
-#define FONT_COLOR_RESET      "\033[0m"\r
-#define FONT_COLOR_BLACK      "\033[30m"             /* Black */\r
-#define FONT_COLOR_RED        "\033[31m"             /* Red */\r
-#define FONT_COLOR_GREEN      "\033[32m"             /* Green */\r
-#define FONT_COLOR_YELLOW     "\033[33m"             /* Yellow */\r
-#define FONT_COLOR_BLUE       "\033[34m"             /* Blue */\r
-#define FONT_COLOR_PURPLE     "\033[35m"             /* Purple */\r
-#define FONT_COLOR_CYAN       "\033[36m"             /* Cyan */\r
-#define FONT_COLOR_WHITE      "\033[37m"             /* White */\r
-#define FONT_COLOR_BOLDBLACK  "\033[1m\033[30m"      /* Bold Black */\r
-#define FONT_COLOR_BOLDRED    "\033[1m\033[31m"      /* Bold Red */\r
-#define FONT_COLOR_BOLDGREEN  "\033[1m\033[32m"      /* Bold Green */\r
-#define FONT_COLOR_BOLDYELLOW "\033[1m\033[33m"      /* Bold Yellow */\r
-#define FONT_COLOR_BOLDBLUE   "\033[1m\033[34m"      /* Bold Blue */\r
-#define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */\r
-#define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */\r
+#ifdef SERVICE_ADAPTOR_COLOR_LOG\r
+#define FONT_COLOR_RESET      "\033[0m"
+#define FONT_COLOR_BLACK      "\033[30m"             /* Black */
+#define FONT_COLOR_RED        "\033[31m"             /* Red */
+#define FONT_COLOR_GREEN      "\033[32m"             /* Green */
+#define FONT_COLOR_YELLOW     "\033[33m"             /* Yellow */
+#define FONT_COLOR_BLUE       "\033[34m"             /* Blue */
+#define FONT_COLOR_PURPLE     "\033[35m"             /* Purple */
+#define FONT_COLOR_CYAN       "\033[36m"             /* Cyan */
+#define FONT_COLOR_WHITE      "\033[37m"             /* White */
+#define FONT_COLOR_BOLDBLACK  "\033[1m\033[30m"      /* Bold Black */
+#define FONT_COLOR_BOLDRED    "\033[1m\033[31m"      /* Bold Red */
+#define FONT_COLOR_BOLDGREEN  "\033[1m\033[32m"      /* Bold Green */
+#define FONT_COLOR_BOLDYELLOW "\033[1m\033[33m"      /* Bold Yellow */
+#define FONT_COLOR_BOLDBLUE   "\033[1m\033[34m"      /* Bold Blue */
+#define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
+#define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */\r
+#else\r
+#define FONT_COLOR_RESET      ""\r
+#define FONT_COLOR_BLACK      ""\r
+#define FONT_COLOR_RED        ""\r
+#define FONT_COLOR_GREEN      ""\r
+#define FONT_COLOR_YELLOW     ""\r
+#define FONT_COLOR_BLUE       ""\r
+#define FONT_COLOR_PURPLE     ""\r
+#define FONT_COLOR_CYAN       ""\r
+#define FONT_COLOR_WHITE      ""\r
+#define FONT_COLOR_BOLDBLACK  ""\r
+#define FONT_COLOR_BOLDRED    ""\r
+#define FONT_COLOR_BOLDGREEN  ""\r
+#define FONT_COLOR_BOLDYELLOW ""\r
+#define FONT_COLOR_BOLDBLUE   ""\r
+#define FONT_COLOR_BOLDPURPLE ""\r
+#define FONT_COLOR_BOLDCYAN   ""\r
+#define FONT_COLOR_BOLDWHITE  ""\r
+#endif\r
 \r
        /**\r
         *  Gets thread ID\r
index 5da8523e2fad1df2a28bdb1a109bec48c19aef1f..6b2d823bedf62694b08858a1bf0f5efdff4010dc 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
        /**
         *  Colors of font
         */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
        /**
         *  Gets thread ID
index f112e6a7bab380b9f5ad665c981cf7b2d9129995..07fdbbe4ecfcede576185c3690836538b81d4934 100644 (file)
@@ -69,23 +69,43 @@ extern "C"
        /**\r
         *  Colors of font\r
         */\r
-#define FONT_COLOR_RESET      "\033[0m"\r
-#define FONT_COLOR_BLACK      "\033[30m"             /* Black */\r
-#define FONT_COLOR_RED        "\033[31m"             /* Red */\r
-#define FONT_COLOR_GREEN      "\033[32m"             /* Green */\r
-#define FONT_COLOR_YELLOW     "\033[33m"             /* Yellow */\r
-#define FONT_COLOR_BLUE       "\033[34m"             /* Blue */\r
-#define FONT_COLOR_PURPLE     "\033[35m"             /* Purple */\r
-#define FONT_COLOR_CYAN       "\033[36m"             /* Cyan */\r
-#define FONT_COLOR_WHITE      "\033[37m"             /* White */\r
-#define FONT_COLOR_BOLDBLACK  "\033[1m\033[30m"      /* Bold Black */\r
-#define FONT_COLOR_BOLDRED    "\033[1m\033[31m"      /* Bold Red */\r
-#define FONT_COLOR_BOLDGREEN  "\033[1m\033[32m"      /* Bold Green */\r
-#define FONT_COLOR_BOLDYELLOW "\033[1m\033[33m"      /* Bold Yellow */\r
-#define FONT_COLOR_BOLDBLUE   "\033[1m\033[34m"      /* Bold Blue */\r
-#define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */\r
-#define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */\r
+#ifdef SERVICE_ADAPTOR_COLOR_LOG\r
+#define FONT_COLOR_RESET      "\033[0m"
+#define FONT_COLOR_BLACK      "\033[30m"             /* Black */
+#define FONT_COLOR_RED        "\033[31m"             /* Red */
+#define FONT_COLOR_GREEN      "\033[32m"             /* Green */
+#define FONT_COLOR_YELLOW     "\033[33m"             /* Yellow */
+#define FONT_COLOR_BLUE       "\033[34m"             /* Blue */
+#define FONT_COLOR_PURPLE     "\033[35m"             /* Purple */
+#define FONT_COLOR_CYAN       "\033[36m"             /* Cyan */
+#define FONT_COLOR_WHITE      "\033[37m"             /* White */
+#define FONT_COLOR_BOLDBLACK  "\033[1m\033[30m"      /* Bold Black */
+#define FONT_COLOR_BOLDRED    "\033[1m\033[31m"      /* Bold Red */
+#define FONT_COLOR_BOLDGREEN  "\033[1m\033[32m"      /* Bold Green */
+#define FONT_COLOR_BOLDYELLOW "\033[1m\033[33m"      /* Bold Yellow */
+#define FONT_COLOR_BOLDBLUE   "\033[1m\033[34m"      /* Bold Blue */
+#define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
+#define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */\r
+#else\r
+#define FONT_COLOR_RESET      ""\r
+#define FONT_COLOR_BLACK      ""\r
+#define FONT_COLOR_RED        ""\r
+#define FONT_COLOR_GREEN      ""\r
+#define FONT_COLOR_YELLOW     ""\r
+#define FONT_COLOR_BLUE       ""\r
+#define FONT_COLOR_PURPLE     ""\r
+#define FONT_COLOR_CYAN       ""\r
+#define FONT_COLOR_WHITE      ""\r
+#define FONT_COLOR_BOLDBLACK  ""\r
+#define FONT_COLOR_BOLDRED    ""\r
+#define FONT_COLOR_BOLDGREEN  ""\r
+#define FONT_COLOR_BOLDYELLOW ""\r
+#define FONT_COLOR_BOLDBLUE   ""\r
+#define FONT_COLOR_BOLDPURPLE ""\r
+#define FONT_COLOR_BOLDCYAN   ""\r
+#define FONT_COLOR_BOLDWHITE  ""\r
+#endif\r
 \r
        /**\r
         *  Gets thread ID\r
index a13d3b10761a8823f7dd946ccb74429a3bb7b192..d1582c77a82127958ea3579c44c5605e1cd94661 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
        /**
         *  Colors of font
         */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
        /**
         *  Gets thread ID
index 2ce21756be8aa3c679a992282a546911f068878d..08a8d0023a60522c5fd27cb622b3e9ec86369a2a 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
        /**
         *  Colors of font
         */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
 /**
  *  Gets thread ID
index 00863a8f895ab3d1af344204c0c83d2209e17faf..81f4bbd56fbce6e0462a441dd34735746354f809 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
 /**
  *  Colors of font
  */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
        /**
         *  Gets thread ID
index 4490194cb499787e7210d6518acac0699e516852..bc597e5b1b2fbc2eb43f5e7e135619229c79f87e 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
        /**
         *  Colors of font
         */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
        /**
         *  Gets thread ID
index b543d97104d6d29fc74de26203fcd3fcda5bbf21..1f82ead70010a2698251e134ba1581ec9e6484b1 100644 (file)
@@ -39,8 +39,8 @@
 #define PRINT_LOG LSP_LOG_debug
 #endif
 
-#define FUNC_START() do {PRINT_LOG("\033[1m\033[32m""Start >>%s>>\n""\033[0m", __FUNCTION__); } while (0)
-#define FUNC_END() do {PRINT_LOG("\033[1m\033[36m""End <<%s<<\n""\033[0m", __FUNCTION__); } while (0)
+#define FUNC_START() do {PRINT_LOG("Start >>%s>>\n", __FUNCTION__); } while (0)
+#define FUNC_END() do {PRINT_LOG("End <<%s<<\n", __FUNCTION__); } while (0)
 
 
 #define PLUGIN_MESSAGE_ELEMENT_KEY_CONTEXT_ID          "ctx_id"
index 77b91fee7a667b9f3dcee9f9a0c7f12450bedb7c..8a6cebe1a6282933acad5da77af5993cf1bfc9f3 100644 (file)
@@ -57,6 +57,7 @@ extern "C"
        /**
         *  Colors of font
         */
+#ifdef SERVICE_ADAPTOR_COLOR_LOG
 #define FONT_COLOR_RESET      "\033[0m"
 #define FONT_COLOR_BLACK      "\033[30m"             /* Black */
 #define FONT_COLOR_RED        "\033[31m"             /* Red */
@@ -74,6 +75,25 @@ extern "C"
 #define FONT_COLOR_BOLDPURPLE "\033[1m\033[35m"      /* Bold Purple */
 #define FONT_COLOR_BOLDCYAN   "\033[1m\033[36m"      /* Bold Cyan */
 #define FONT_COLOR_BOLDWHITE  "\033[1m\033[37m"      /* Bold White */
+#else
+#define FONT_COLOR_RESET      ""
+#define FONT_COLOR_BLACK      ""
+#define FONT_COLOR_RED        ""
+#define FONT_COLOR_GREEN      ""
+#define FONT_COLOR_YELLOW     ""
+#define FONT_COLOR_BLUE       ""
+#define FONT_COLOR_PURPLE     ""
+#define FONT_COLOR_CYAN       ""
+#define FONT_COLOR_WHITE      ""
+#define FONT_COLOR_BOLDBLACK  ""
+#define FONT_COLOR_BOLDRED    ""
+#define FONT_COLOR_BOLDGREEN  ""
+#define FONT_COLOR_BOLDYELLOW ""
+#define FONT_COLOR_BOLDBLUE   ""
+#define FONT_COLOR_BOLDPURPLE ""
+#define FONT_COLOR_BOLDCYAN   ""
+#define FONT_COLOR_BOLDWHITE  ""
+#endif
 
        /**
         *  Gets thread ID
@@ -155,9 +175,9 @@ extern "C"
                SECURE_LOGD(FONT_COLOR_CYAN"[%d]"fmt""FONT_COLOR_RESET, service_adaptor_gettid(), ##arg);     \
        } while (0)
 
-#define FUNC_START() do {service_adaptor_debug_func("\033[1m\033[32m""Start >>%s>>\n""\033[0m", __FUNCTION__); } while (0)
-#define FUNC_STEP() do {service_adaptor_debug_func("\033[1m\033[32m""Step logging >>%s<<\n""\033[0m", __FUNCTION__); } while (0)
-#define FUNC_END() do {service_adaptor_debug_func("\033[1m\033[36m""End <<%s<<\n""\033[0m", __FUNCTION__); } while (0)
+#define FUNC_START() do {service_adaptor_debug_func("Start >>%s>>\n", __FUNCTION__); } while (0)
+#define FUNC_STEP() do {service_adaptor_debug_func("Step logging >>%s<<\n", __FUNCTION__); } while (0)
+#define FUNC_END() do {service_adaptor_debug_func("End <<%s<<\n", __FUNCTION__); } while (0)
 
 #ifdef __cplusplus
 }