log qt/qml to easylogging, add --log-file cmdline option

This commit is contained in:
pazos
2018-05-08 18:13:29 +02:00
parent 7cea134352
commit 341ac18f1a
7 changed files with 75 additions and 23 deletions

8
Logger.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef LOGGER_H
#define LOGGER_H
const QString getLogPath(const QString logPath);
void messageHandler(QtMsgType type, const QMessageLogContext &context, const QString &message);
#endif // LOGGER_H