mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-23 23:23:55 -07:00
## Related Ticket(s) - Fixes #3558 
This commit is contained in:
parent
46b34d6515
commit
6e3fd30fcb
2 changed files with 20 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue