15 lines
239 B
C++
15 lines
239 B
C++
#include "./jsconsole.h"
|
|
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
JSConsole::JSConsole(QObject *parent) : QObject(parent)
|
|
{
|
|
}
|
|
|
|
void JSConsole::log(const QString &msg) const
|
|
{
|
|
cerr << "script: "<< msg.toLocal8Bit().data() << endl;
|
|
}
|