diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-12-09 12:54:46 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-12-09 12:54:46 (GMT) |
commit | 1e56658c2415d154428fe419d8f0134c59856b6e (patch) | |
tree | 2122ec471af63ec0549fb28973a68f9dfaf10f8a /apps | |
parent | 9b8e09c3fde755ec26e5c21b9640f53ed9329d05 (diff) | |
download | uscxml-1e56658c2415d154428fe419d8f0134c59856b6e.zip uscxml-1e56658c2415d154428fe419d8f0134c59856b6e.tar.gz uscxml-1e56658c2415d154428fe419d8f0134c59856b6e.tar.bz2 |
Oh how I despise MSVC
Diffstat (limited to 'apps')
-rw-r--r-- | apps/uscxml-browser.cpp | 4 | ||||
-rw-r--r-- | apps/uscxml-transform.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/uscxml-browser.cpp b/apps/uscxml-browser.cpp index dff207b..99f646f 100644 --- a/apps/uscxml-browser.cpp +++ b/apps/uscxml-browser.cpp @@ -56,7 +56,7 @@ int main(int argc, char** argv) { InterpreterOptions* currOptions = options.interpreters[0].second; std::string documentURL = options.interpreters[0].first; - LOG(INFO) << "Processing " << documentURL; + LOG(USCXML_INFO) << "Processing " << documentURL; try { Interpreter interpreter = Interpreter::fromURL(documentURL); @@ -82,7 +82,7 @@ int main(int argc, char** argv) { interpreters.push_back(interpreter); } else { - LOG(ERROR) << "Cannot create interpreter from " << documentURL; + LOG(USCXML_ERROR) << "Cannot create interpreter from " << documentURL; } } catch (Event e) { std::cout << e << std::endl; diff --git a/apps/uscxml-transform.cpp b/apps/uscxml-transform.cpp index a4c5e3e..0cf538c 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 == "-") { - LOG(INFO) << "Reading SCXML from STDIN"; + LOG(USCXML_INFO) << "Reading SCXML from STDIN"; std::stringstream ss; std::string line; while (std::getline(std::cin, line)) { @@ -254,7 +254,7 @@ int main(int argc, char** argv) { } if (!interpreter) { - LOG(ERROR) << "Cannot create interpreter from " << inputFile; + LOG(USCXML_ERROR) << "Cannot create interpreter from " << inputFile; exit(EXIT_FAILURE); } |