diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-01-30 14:30:55 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-01-30 14:30:55 (GMT) |
commit | 7659ef059fa31c780f7c4e0fb028b9fb5b400030 (patch) | |
tree | 3a1705ae2e459e5a92cb1988ed160b5bde0d4e03 /apps | |
parent | aaec51ce3330a96f7a4f0f2ab0ca75f055223c67 (diff) | |
download | uscxml-7659ef059fa31c780f7c4e0fb028b9fb5b400030.zip uscxml-7659ef059fa31c780f7c4e0fb028b9fb5b400030.tar.gz uscxml-7659ef059fa31c780f7c4e0fb028b9fb5b400030.tar.bz2 |
Unified DOM traversal and removed iostreams
Diffstat (limited to 'apps')
-rw-r--r-- | apps/uscxml-browser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/uscxml-browser.cpp b/apps/uscxml-browser.cpp index 626ad60..cf6e874 100644 --- a/apps/uscxml-browser.cpp +++ b/apps/uscxml-browser.cpp @@ -66,10 +66,10 @@ int main(int argc, char** argv) { if (options.validate) { std::list<InterpreterIssue> issues = interpreter.validate(); for (std::list<InterpreterIssue>::iterator issueIter = issues.begin(); issueIter != issues.end(); issueIter++) { - std::cout << *issueIter << std::endl; + LOGD(USCXML_DEBUG) << "" << *issueIter << std::endl; } if (issues.size() == 0) { - std::cout << "No issues found" << std::endl; + LOGD(USCXML_DEBUG) << "No issues found" << std::endl; } } @@ -86,7 +86,7 @@ int main(int argc, char** argv) { LOGD(USCXML_ERROR) << "Cannot create interpreter from " << documentURL; } } catch (Event e) { - std::cout << e << std::endl; + LOGD(USCXML_DEBUG) << e << std::endl; } } @@ -116,7 +116,7 @@ int main(int argc, char** argv) { interpreterIter = interpreters.begin(); } } catch (Event e) { - std::cout << e << std::endl; + LOGD(USCXML_ERROR) << e << std::endl; } } else if (options.withDebugger) { while(true) |