mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-14 21:23:52 +01:00
797bb38081
Also added a new debug plugin witch shows the debug messages normally not available on release builds
19 lines
563 B
C++
19 lines
563 B
C++
#ifndef DEBUGENGINE_H
|
|
#define DEBUGENGINE_H
|
|
#include "qxtbasicstdloggerengine.h"
|
|
#include <QObject>
|
|
class debugengine:public QObject,public QxtBasicSTDLoggerEngine
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
debugengine();
|
|
protected:
|
|
void writeToStdErr ( const QString & level, const QList<QVariant> & msgs );
|
|
void writeToStdOut ( const QString & level, const QList<QVariant> & msgs );
|
|
signals:
|
|
void dbgMsgError( const QString & level, const QList<QVariant> & msgs );
|
|
void dbgMsg( const QString & level, const QList<QVariant> & msgs );
|
|
};
|
|
|
|
#endif // DEBUGENGINE_H
|