Sagi Dayan
a6a923e31b
Added a class that pars all qDebug Messages to a log file. Atempt to fix #12, on linux it works.
18 lines
318 B
C++
18 lines
318 B
C++
#ifndef JCE_LOGGER_H
|
|
#define JCE_LOGGER_H
|
|
|
|
#include <QMessageLogContext>
|
|
#include <QString>
|
|
#include <QDateTime>
|
|
#include <QFile>
|
|
#include <QTextStream>
|
|
|
|
class jce_logger
|
|
{
|
|
public:
|
|
static void customMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg);
|
|
|
|
};
|
|
|
|
#endif // JCE_LOGGER_H
|