summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-04-27 07:27:08 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-04-27 07:27:08 (GMT)
commita925b941c640289ffd967cab457ab804de69399a (patch)
treefc9b769c18b94e0ab80a669e1af1103d71507828 /src/uscxml/Interpreter.cpp
parent33a817259588101ba9d4bcab8e73d3fe1759a196 (diff)
downloaduscxml-a925b941c640289ffd967cab457ab804de69399a.zip
uscxml-a925b941c640289ffd967cab457ab804de69399a.tar.gz
uscxml-a925b941c640289ffd967cab457ab804de69399a.tar.bz2
Added explicit newline to most logs
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index 8b11e33..d21b633 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -170,13 +170,13 @@ Interpreter Interpreter::fromURL(const std::string& url) {
}
catch (const XERCESC_NS::SAXParseException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
} catch (const XERCESC_NS::RuntimeException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
} catch (const XERCESC_NS::XMLException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
} catch (const XERCESC_NS::DOMException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
}
return interpreter;
@@ -258,7 +258,7 @@ std::list<InterpreterIssue> Interpreter::validate() {
static void printNodeSet(Logger& logger, const std::list<XERCESC_NS::DOMElement*> nodes) {
std::string seperator;
for (auto nIter = nodes.begin(); nIter != nodes.end(); nIter++) {
- LOG(logger, USCXML_VERBATIM) << seperator << (HAS_ATTR(*nIter, kXMLCharId) ? ATTR(*nIter, kXMLCharId) : DOMUtils::xPathForNode(*nIter));
+ LOG(logger, USCXML_VERBATIM) << seperator << (HAS_ATTR(*nIter, kXMLCharId) ? ATTR(*nIter, kXMLCharId) : DOMUtils::xPathForNode(*nIter)) << std::endl;
seperator = ", ";
}
}