From 598c27fcbe65e277e108a897d1ebfbb84311241e Mon Sep 17 00:00:00 2001 From: buzhenwang Date: Tue, 10 Dec 2024 10:30:06 +0800 Subject: [PATCH] cherry pick b1c7d45 from https://gitee.com/buzhenwang/interface_sdk_c/pulls/1979 add hilog C api Signed-off-by: buzhenwang --- hiviewdfx/hilog/include/hilog/log.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hiviewdfx/hilog/include/hilog/log.h b/hiviewdfx/hilog/include/hilog/log.h index 5fa41928a..7cab8ff57 100644 --- a/hiviewdfx/hilog/include/hilog/log.h +++ b/hiviewdfx/hilog/include/hilog/log.h @@ -279,6 +279,14 @@ typedef void (*LogCallback)(const LogType type, const LogLevel level, const unsi */ void OH_LOG_SetCallback(LogCallback callback); +/** + * @brief Sets the lowest log level of the current application process. + * + * @param level log level + * @since 16 + */ +void OH_LOG_SetMinLogLevel(LogLevel level); + #ifdef __cplusplus } #endif -- Gitee