- LOGS in Cpp
- Using cout
std::cout << "My First LOG" << std::endl;
- Using fprintf
fprintf(stdout,"%s\n","My first log");
fflush(stdout);
You can view these Logs directly in the console window of eclipse.
- LOGS in QML
- We have two ways to print logs in QML via console.log() or console.debug()
console.log("onClicked called..................");
We can view the logs of QML via Terminal. For more details to launch terminal, refer the point's listed below.
- In the IDE, in the Target Navigator view, right-click the device target.
- Click Launch SSH Session.
- To view real-time output for the processes that are being debugged (for applications that are running in development mode), type slog2info -w.
No comments:
Post a Comment