Side note: on Qt traces are rather written using qDebug() << "trace";