Descriptor: ark hilog refactor

details:
1. use hilog in ohos device
2. use panda logger in host
issue:  https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
This commit is contained in:
wengchangcheng
2022-07-06 14:12:54 +08:00
parent fb0f545987
commit cd90e396a7
120 changed files with 946 additions and 838 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ void JSArrayBuffer::CopyDataBlockBytes(JSTaggedValue toBlock, JSTaggedValue from
auto *from = static_cast<uint8_t *>(fromBuf);
auto *to = static_cast<uint8_t *>(toBuf);
if (memcpy_s(to, count, from + fromIndex, count) != EOK) { // NOLINT
LOG_ECMA(FATAL) << "memcpy_s failed";
LOG_FULL(FATAL) << "memcpy_s failed";
UNREACHABLE();
}
}