From 2f3d70f583a6fdd2f143c75e1236eb0d5a1ee8e2 Mon Sep 17 00:00:00 2001 From: Cho Woong Suk Date: Wed, 25 Apr 2018 11:28:12 +0900 Subject: [PATCH] change log tag from ERR to INFO for C# log Change-Id: I99f14b4972d9c5ed815a62a0e9dd7ce0d7386751 --- NativeLauncher/inc/log.h | 6 +++--- NativeLauncher/util/utils.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NativeLauncher/inc/log.h b/NativeLauncher/inc/log.h index 3315f8e..20f7d2f 100644 --- a/NativeLauncher/inc/log.h +++ b/NativeLauncher/inc/log.h @@ -21,7 +21,7 @@ #include #define LOGX(fmt, arg...) \ ({ do { \ - dlog_print(DLOG_ERROR, LOG_TAG, fmt, ##arg); \ + dlog_print(DLOG_INFO, LOG_TAG, fmt, ##arg); \ } while (0); }) #else @@ -49,8 +49,8 @@ #define _INFO(fmt, args...) LOGI(fmt "\n", ##args) #endif -#ifndef _ERRX -#define _ERRX(fmt, args...) LOGX(fmt "\n", ##args) +#ifndef _LOGX +#define _LOGX(fmt, args...) LOGX(fmt "\n", ##args) #endif #endif /* __LOG_H__ */ diff --git a/NativeLauncher/util/utils.cc b/NativeLauncher/util/utils.cc index ce01795..3d14f00 100644 --- a/NativeLauncher/util/utils.cc +++ b/NativeLauncher/util/utils.cc @@ -339,7 +339,7 @@ static void *stdlog(void*) buf[readSize] = 0; - _ERRX("%s", buf); + _LOGX("%s", buf); } close(pfd[0]); -- 2.7.4