summaryrefslogtreecommitdiff
path: root/src/include/util/media-thumb-debug.h
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-03-30 09:59:15 +0900
committerHaejeong Kim <backto.kim@samsung.com>2017-03-30 09:59:15 +0900
commitaee150adb2f1ea46f8ab3e1ee32896338bc811eb (patch)
tree5aff090d4422911a3c3647ca9044a0a41388ff36 /src/include/util/media-thumb-debug.h
parentb309bbcdcb5dafd7c22dcd669b918117b25076b6 (diff)
downloadlibmedia-thumbnail-aee150adb2f1ea46f8ab3e1ee32896338bc811eb.tar.gz
libmedia-thumbnail-aee150adb2f1ea46f8ab3e1ee32896338bc811eb.tar.bz2
libmedia-thumbnail-aee150adb2f1ea46f8ab3e1ee32896338bc811eb.zip
Change-Id: I6951f5a5bf334838c9d17dba0edb03be10a30c96
Diffstat (limited to 'src/include/util/media-thumb-debug.h')
-rwxr-xr-xsrc/include/util/media-thumb-debug.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/util/media-thumb-debug.h b/src/include/util/media-thumb-debug.h
index 66ae59e..47b519e 100755
--- a/src/include/util/media-thumb-debug.h
+++ b/src/include/util/media-thumb-debug.h
@@ -45,23 +45,23 @@
#define FONT_COLOR_CYAN "\033[36m"
#define FONT_COLOR_GRAY "\033[37m"
-#define thumb_dbg(fmt, arg...) do{ \
+#define thumb_dbg(fmt, arg...) do { \
LOGD(FONT_COLOR_RESET fmt "\n", ##arg); \
} while (0)
-#define thumb_warn(fmt, arg...) do{ \
+#define thumb_warn(fmt, arg...) do { \
LOGW(FONT_COLOR_GREEN fmt "\n", ##arg); \
} while (0)
-#define thumb_err(fmt, arg...) do{ \
+#define thumb_err(fmt, arg...) do { \
LOGE(FONT_COLOR_RED fmt "\n", ##arg); \
} while (0)
-#define thumb_dbg_slog(fmt, arg...) do{ \
+#define thumb_dbg_slog(fmt, arg...) do { \
SECURE_LOGD(FONT_COLOR_RESET fmt "\n", ##arg); \
} while (0)
-#define thumb_warn_slog(fmt, arg...) do{ \
+#define thumb_warn_slog(fmt, arg...) do { \
SECURE_LOGW(FONT_COLOR_GREEN fmt "\n", ##arg); \
} while (0)
@@ -76,7 +76,7 @@
void thumb_init_file_debug();
void thumb_close_file_debug();
FILE* get_fp();
-#define thumb_file_dbg(fmt,arg...) fprintf( get_fp(), "[%s: %d] " fmt "\n", __FUNCTION__, __LINE__, ##arg)
+#define thumb_file_dbg(fmt, arg...) fprintf(get_fp(), "[%s: %d] " fmt "\n", __FUNCTION__, __LINE__, ##arg)
#endif