Added message handler.
Depending on the log message, debug is written or not on the console. This use Qt's log level. By default, qDebug is not printed, qWarning is. In every case, messages are written in a log file (if it has been specified in the config)
Showing with 159 additions and 7 deletions