| 1 |
|
#include "xmlprocessor.h" |
| 2 |
|
|
| 3 |
< |
XmlProcessor::XmlProcessor(QString AppDir, Logger *myLogger, QStringList *commands) |
| 3 |
> |
XmlProcessor::XmlProcessor(QString AppDir, QStringList *commands) |
| 4 |
|
{ |
| 5 |
|
this->AppDir=AppDir; |
| 6 |
– |
this->myLogger=myLogger; |
| 6 |
|
this->commands=commands; |
| 7 |
|
} |
| 8 |
|
|
| 23 |
|
|
| 24 |
|
if(!result.isEmpty()){ |
| 25 |
|
//catch exception |
| 26 |
< |
myLogger->writeString("Xml Tools Error: \n"+this->commands->at(i)+"\n"+result); |
| 26 |
> |
LOG_ERROR << "Xml Tools Error: \n" + this->commands->at(i) + "\n"+result; |
| 27 |
|
errorMessage=result; |
| 28 |
|
numErrors++; |
| 29 |
|
} |