Change-Id: I48a3abd6ff62bc8d7e2ab0cbe77956789eaac6ac
SECURE_LOGD(FONT_COLOR_CYAN""fmt""FONT_COLOR_RESET, ##arg); \
} while (0)
+#define MSAPI_ERR_SLOG(fmt, arg...) do { \
+ SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ } while (0)
#define MSAPI_DBG(fmt, arg...) do { \
LOGD(FONT_COLOR_RESET""fmt"", ##arg); \
} while (0)
ret = sqlite3_exec(db_handle, sql_str, NULL, NULL, &zErrMsg);
if (SQLITE_OK != ret) {
- MSAPI_DBG_ERR("DB Update Fail SQL : %s", sql_str);
+ MSAPI_ERR_SLOG("%s", sql_str);
MSAPI_DBG_ERR("ERROR [%s]", zErrMsg);
if (ret == SQLITE_BUSY) {
ret = MS_MEDIA_ERR_DB_BUSY_FAIL;
}
return MS_MEDIA_ERR_INTERNAL;
}
- MSAPI_DBG_INFO("success send notification");
+
g_object_unref(bus);