summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent33a817259588101ba9d4bcab8e73d3fe1759a196 (diff)
downloaduscxml-a925b941c640289ffd967cab457ab804de69399a.zip
uscxml-a925b941c640289ffd967cab457ab804de69399a.tar.gz
uscxml-a925b941c640289ffd967cab457ab804de69399a.tar.bz2
Added explicit newline to most logs
Diffstat (limited to 'apps')
-rw-r--r--apps/uscxml-browser.cpp4
-rw-r--r--apps/uscxml-transform.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/uscxml-browser.cpp b/apps/uscxml-browser.cpp
index cf6e874..f1017bd 100644
--- a/apps/uscxml-browser.cpp
+++ b/apps/uscxml-browser.cpp
@@ -57,7 +57,7 @@ int main(int argc, char** argv) {
// InterpreterOptions* currOptions = options.interpreters[0].second;
std::string documentURL = options.interpreters[0].first;
- LOGD(USCXML_INFO) << "Processing " << documentURL;
+ LOGD(USCXML_INFO) << "Processing " << documentURL << std::endl;
try {
Interpreter interpreter = Interpreter::fromURL(documentURL);
@@ -83,7 +83,7 @@ int main(int argc, char** argv) {
interpreters.push_back(interpreter);
} else {
- LOGD(USCXML_ERROR) << "Cannot create interpreter from " << documentURL;
+ LOGD(USCXML_ERROR) << "Cannot create interpreter from " << documentURL << std::endl;
}
} catch (Event e) {
LOGD(USCXML_DEBUG) << e << std::endl;
diff --git a/apps/uscxml-transform.cpp b/apps/uscxml-transform.cpp
index 2b440ff..e99ed68 100644
--- a/apps/uscxml-transform.cpp
+++ b/apps/uscxml-transform.cpp
@@ -211,7 +211,7 @@ int main(int argc, char** argv) {
Interpreter interpreter;
try {
if (inputFile.size() == 0 || inputFile == "-") {
- LOGD(USCXML_INFO) << "Reading SCXML from STDIN";
+ LOGD(USCXML_INFO) << "Reading SCXML from STDIN" << std::endl;
std::stringstream ss;
std::string line;
while (std::getline(std::cin, line)) {
@@ -254,7 +254,7 @@ int main(int argc, char** argv) {
}
if (!interpreter) {
- LOGD(USCXML_ERROR) << "Cannot create interpreter from " << inputFile;
+ LOGD(USCXML_ERROR) << "Cannot create interpreter from " << inputFile << std::endl;
exit(EXIT_FAILURE);
}