From 002900776aae7d7bdf1025d118ce59ca2cf316b0 Mon Sep 17 00:00:00 2001 From: s_c_c 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)