Removed color log which is not supported in Tizen 3.0 17/74117/1 accepted/tizen/common/20160613.144737 accepted/tizen/mobile/20160613.123503 submit/tizen/20160613.021531
authorYounho Park <younho.park@samsung.com>
Mon, 13 Jun 2016 01:56:58 +0000 (10:56 +0900)
committerYounho Park <younho.park@samsung.com>
Mon, 13 Jun 2016 01:56:58 +0000 (10:56 +0900)
Change-Id: I6ba0d0223d1b45b03f0f192a8f728a78bac3f19c
Signed-off-by: Younho Park <younho.park@samsung.com>
auth-plugin/auth-plugin-sample-log.h
storage-plugin/storage-plugin-sample-log.h

index a2d3ab6faf6e7585a37e9563721ee198ed6e388a..7f38a7045c4c3153fde5d29a310489d79919c75f 100644 (file)
@@ -41,6 +41,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 */
@@ -58,6 +59,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 d88a548f2baf597e43c7a1a83a2aeb2674507794..377fdfae1850e75d2fb005fcc107c8c1df119b63 100644 (file)
@@ -41,6 +41,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 */
@@ -58,6 +59,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