Change log level from info to debug

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KC4X

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I1f56d66c1fd5d30ffb9d15e4c2c7e7268be95771
This commit is contained in:
quiet-thought 2023-07-11 16:42:11 +08:00
parent b0ba8a74b0
commit 7daef04a5e
3 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,6 @@ EcmaHandleScope::EcmaHandleScope(JSThread *thread) : thread_(thread)
prevEnd_ = context->handleScopeStorageEnd_;
prevHandleStorageIndex_ = context->currentHandleStorageIndex_;
#ifdef ECMASCRIPT_ENABLE_HANDLE_LEAK_CHECK
LOG_ECMA(INFO) << "Enable handle leak check";
context->HandleScopeCountAdd();
prevHandleScope_ = context->GetLastHandleScope();
context->SetLastHandleScope(this);

View File

@ -346,7 +346,7 @@ void Heap::CollectGarbage(TriggerGCType gcType, GCReason reason)
CHECK_NO_GC
#if ECMASCRIPT_ENABLE_HEAP_VERIFY
LOG_ECMA(INFO) << "Enable heap verify";
LOG_ECMA(DEBUG) << "Enable heap verify";
isVerifying_ = true;
// pre gc heap verify
sweeper_->EnsureAllTaskFinished();

View File

@ -33,7 +33,7 @@
#if ECMASCRIPT_ENABLE_NAPI_SPECIAL_CHECK
#define LOG_IF_SPECIAL(handleValue, level) \
do { \
LOG_ECMA(INFO) << "Enable napi special check"; \
LOG_ECMA(DEBUG) << "Enable napi special check"; \
if ((handleValue).GetTaggedValue().IsSpecial()) { \
LOG_FULL(level) << "Special value " << (handleValue).GetTaggedType() << " checked!"; \
} \