Add install mode to logger; fix #3558 (#3563)

## Related Ticket(s)
- Fixes #3558

![schermata 2019-02-06 alle 08 45 25](https://user-images.githubusercontent.com/1631111/52327211-98419900-29eb-11e9-9d15-69f59fc9d379.png)
This commit is contained in:
ctrlaltca 2019-02-06 12:27:32 +01:00 committed by tooomm
parent 46b34d6515
commit 6e3fd30fcb
2 changed files with 20 additions and 6 deletions

View file

@ -28,11 +28,12 @@ public:
}
void logToFile(bool enabled);
void log(QtMsgType type, const QMessageLogContext &ctx, const QString message);
void log(QtMsgType type, const QMessageLogContext &ctx, QString message);
QString getClientVersion();
QString getClientOperatingSystem();
QString getSystemArchitecture();
QString getSystemLocale();
QString getClientInstallInfo();
QList<QString> getLogBuffer()
{
return logBuffer;
@ -40,7 +41,7 @@ public:
private:
Logger();
~Logger();
~Logger() override;
// Singleton - Don't implement copy constructor and assign operator
Logger(Logger const &);
void operator=(Logger const &);
@ -56,7 +57,7 @@ protected:
void closeLogfileSession();
protected slots:
void internalLog(const QString message);
void internalLog(QString message);
signals:
void logEntryAdded(QString message);