代码拉取完成,页面将自动刷新
From 002900776aae7d7bdf1025d118ce59ca2cf316b0 Mon Sep 17 00:00:00 2001
From: s_c_c <shichuchao@huawei.com>
Date: Tue, 12 Mar 2024 16:07:04 +0800
Subject: [PATCH 1/2] feat for embedded comment out os_log
---
interfaces/native/innerkits/include/hilog_base/log_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/interfaces/native/innerkits/include/hilog_base/log_base.h b/interfaces/native/innerkits/include/hilog_base/log_base.h
index 7e06e64..9fbc992 100644
--- a/interfaces/native/innerkits/include/hilog_base/log_base.h
+++ b/interfaces/native/innerkits/include/hilog_base/log_base.h
@@ -56,8 +56,8 @@ typedef enum {
LOG_LEVEL_MAX,
} LogLevel;
-int HiLogBasePrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...)
- __attribute__((__format__(os_log, 5, 6)));
+int HiLogBasePrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...);
+ // __attribute__((__format__(os_log, 5, 6)));
#define HILOG_BASE_DEBUG(type, ...) ((void)HiLogBasePrint((type), LOG_DEBUG, LOG_DOMAIN, LOG_TAG, __VA_ARGS__))
--
2.20.1 (Apple Git-117)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。