emscripten-core / emscripten-core/emscripten

how to view the C layer printf log on the mobile phone

Open
#14,966 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I use `printf` to print logs in C layer, and compile the code into WASM library. then load the WASM file using HTML , run it on the phone, the question is how to view the logs printed by `printf in C layer` on the phone?

We can use the `vconsole` plugin to view console.log in JS, but how to view the C layer `printf` s log?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.