fix log level

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAUCXY?from=project-issue
Signed-off-by: shilei91 <shilei91@huawei.com>
Change-Id: I36b68971c4cc01a66437f4a5a9461fa41888452e
This commit is contained in:
shilei91 2024-09-28 20:47:03 +08:00
parent 4df828c825
commit 0c7a24dbde

View File

@ -164,8 +164,8 @@ public:
{
constexpr int32_t MAX_SIZE = 150;
if ((size == 0) || (size > MAX_SIZE) || (externalRegisteredStringTable_ != nullptr)) {
LOG_ECMA(ERROR) << "invalid size of the string cache table or the table has been registered.";
LOG_ECMA(ERROR) << "Currently, maximum size of the table is " << MAX_SIZE;
LOG_ECMA(WARN) << "invalid size of the string cache table or the table has been registered.";
LOG_ECMA(WARN) << "Currently, maximum size of the table is " << MAX_SIZE;
return false;
}