Sorry, I didn't meant it as drop-in replacement.

Thanks for the example.

Note that I'd rather recommend the use of QLoggingCategory for that kind of task.