A simple logger for Qt