From f2c0df5425595e933ac569f8526ea233d538f2a2 Mon Sep 17 00:00:00 2001 From: DaiHN Date: Fri, 9 Sep 2022 10:58:53 +0800 Subject: [PATCH] Bugfix of ASM FatalPrint ------------------------- issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5QGZT?from=project-issue Signed-off-by: DaiHN Change-Id: I99aa7e9cc14572c915d84143120cb2ec9794b5bf --- ecmascript/stubs/runtime_stubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecmascript/stubs/runtime_stubs.cpp b/ecmascript/stubs/runtime_stubs.cpp index 835f75c556..0639e84bbe 100644 --- a/ecmascript/stubs/runtime_stubs.cpp +++ b/ecmascript/stubs/runtime_stubs.cpp @@ -348,7 +348,7 @@ void RuntimeStubs::FatalPrint(int fmtMessageId, ...) va_list args; va_start(args, fmtMessageId); std::string result = base::StringHelper::Vformat(format.c_str(), args); - std::cerr << result << std::endl; + LOG_FULL(FATAL) << result; va_end(args); UNREACHABLE(); }