瀏覽代碼

remove:无效的打印

alienwalker 1 年之前
父節點
當前提交
340a4eb8bc
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      components/network/libhttp/luat_http_client.c

+ 4 - 0
components/network/libhttp/luat_http_client.c

@@ -26,6 +26,10 @@ extern void luat_http_client_onevent(luat_http_ctrl_t *http_ctrl, int error_code
 #define LLOGD(format, ...) do {if (http_ctrl->debug_onoff) {luat_log_log(LUAT_LOG_DEBUG, LUAT_LOG_TAG, format, ##__VA_ARGS__);}} while(0)
 #else
 #undef LLOGE
+#undef LLOGI
+#undef LLOGW
+#define LLOGI(format, ...)
+#define LLOGW(format, ...)
 #ifdef LUAT_LOG_NO_NEWLINE
 #define LLOGD(x,...)	do {if (http_ctrl->debug_onoff) {DBG_Printf("%s %d:"x, __FUNCTION__,__LINE__,##__VA_ARGS__);}} while(0)
 #define LLOGE(x,...) DBG_Printf("%s %d:"x, __FUNCTION__,__LINE__,##__VA_ARGS__)