diff --git a/frameworks/libhilog/base/hilog_base.c b/frameworks/libhilog/base/hilog_base.c index c482e9c9bf495559d40d5d3051ea9fcc297fb83e..e78bc30666ea1fe99cc4536cf5d0e64513a7307f 100644 --- a/frameworks/libhilog/base/hilog_base.c +++ b/frameworks/libhilog/base/hilog_base.c @@ -118,3 +118,8 @@ bool HiLogBaseIsLoggable(unsigned int domain, const char *tag, LogLevel level) } return true; } + +void HiLogRecordSnapshot(int lines, int64_t time) +{ + return; +} diff --git a/interfaces/native/innerkits/include/hilog_base/log_base.h b/interfaces/native/innerkits/include/hilog_base/log_base.h index 836bca985eb6bc7ec535cb76ab6f6717ef4bd1c9..63cc6cf17a3acabccf3a7ee10ce1b62328139834 100644 --- a/interfaces/native/innerkits/include/hilog_base/log_base.h +++ b/interfaces/native/innerkits/include/hilog_base/log_base.h @@ -18,6 +18,7 @@ #include #include +#include #ifdef __cplusplus extern "C" { @@ -107,6 +108,8 @@ int HiLogBasePrint(LogType type, LogLevel level, unsigned int domain, const char */ bool HiLogBaseIsLoggable(unsigned int domain, const char *tag, LogLevel level); +void HiLogRecordSnapshot(int lines, int64_t time); + #ifdef __cplusplus } #endif