2011-09-25 19:30:32 +01:00
|
|
|
#ifndef DEBUGENGINE_H
|
|
|
|
#define DEBUGENGINE_H
|
|
|
|
#include "qxtbasicstdloggerengine.h"
|
|
|
|
#include <QObject>
|
2013-05-19 17:37:30 +03:00
|
|
|
class debugengine : public QObject, public QxtBasicSTDLoggerEngine {
|
2011-09-25 19:30:32 +01:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
debugengine();
|
|
|
|
protected:
|
2013-05-19 17:37:30 +03:00
|
|
|
void writeToStdErr(const QString & level, const QList<QVariant> & msgs);
|
|
|
|
void writeToStdOut(const QString & level, const QList<QVariant> & msgs);
|
2011-09-25 19:30:32 +01:00
|
|
|
signals:
|
2013-05-19 17:37:30 +03:00
|
|
|
void dbgMsgError(const QString & level, const QList<QVariant> & msgs);
|
|
|
|
void dbgMsg(const QString & level, const QList<QVariant> & msgs);
|
2011-09-25 19:30:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEBUGENGINE_H
|