add Print debug log

This commit is contained in:
hysios hu 2012-09-23 11:07:43 +08:00
parent c0014ae2b7
commit 453271ad33

View File

@ -154,6 +154,8 @@ void Runner::print(const QString &fh, const QString &content) {
int index = (int)fh.split(":").last().toUInt();
QTextStream ts(outputFiles.at(index));
while (!outputFiles.isEmpty())
std::cout << qPrintable(outputFiles.dequeue()) << endl;
ts << qPrintable(content);
ts.flush();
}