summaryrefslogtreecommitdiffstats
path: root/apps/uscxml-transform.cpp
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-12-12 15:19:14 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-12-12 15:19:14 (GMT)
commit047a35fc691a348008cbfbf4c3d7722a6ec4f93e (patch)
tree362a55496c4185b0be5966073d43d00e1b0e27de /apps/uscxml-transform.cpp
parentdcac58f473789dd07e9094e61f819aef2fbc4b4a (diff)
downloaduscxml-047a35fc691a348008cbfbf4c3d7722a6ec4f93e.zip
uscxml-047a35fc691a348008cbfbf4c3d7722a6ec4f93e.tar.gz
uscxml-047a35fc691a348008cbfbf4c3d7722a6ec4f93e.tar.bz2
Custom logging for interpreters
Diffstat (limited to 'apps/uscxml-transform.cpp')
-rw-r--r--apps/uscxml-transform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/uscxml-transform.cpp b/apps/uscxml-transform.cpp
index 0cf538c..2b440ff 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(USCXML_INFO) << "Reading SCXML from STDIN";
+ LOGD(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(USCXML_ERROR) << "Cannot create interpreter from " << inputFile;
+ LOGD(USCXML_ERROR) << "Cannot create interpreter from " << inputFile;
exit(EXIT_FAILURE);
}