[Solved] Redirecting log messages
-
Hello,
Is there any way to catch all console.log() messages through QML. By default all logged messages are printed on terminal. What if I want to log these messages to a file. (not by using UNIX redirection operators, consider a scenario where I'm running my app on cellphone.)
-
Just use the standard Qt way to re-direct log messages (qInstallMsgHandler, look it up in the docs).