02-26-2013 04:24 AM - edited 02-26-2013 04:26 AM
Qt has qDebug() macro which can also be used. The added benefit is that it can be easily disabled by adding a macro to .pro file: qDebug() << "Text\n";
console.log('Text') is QML alternative.
Check "Known limitations" in Release notes for additional steps on setting up the logs: