7 Star 0 Fork 8

src-openEuler / hiviewdfx_hilog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-feat-for-embedded-comment-out-os_log.patch 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
s_c_c 提交于 2024-03-12 16:27 . Fix compile errors for embedded
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)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/hiviewdfx_hilog.git
git@gitee.com:src-openeuler/hiviewdfx_hilog.git
src-openeuler
hiviewdfx_hilog
hiviewdfx_hilog
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891