diff options
Diffstat (limited to 'src/uscxml/interpreter/BasicContentExecutor.cpp')
-rw-r--r-- | src/uscxml/interpreter/BasicContentExecutor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uscxml/interpreter/BasicContentExecutor.cpp b/src/uscxml/interpreter/BasicContentExecutor.cpp index 17dd611..820a945 100644 --- a/src/uscxml/interpreter/BasicContentExecutor.cpp +++ b/src/uscxml/interpreter/BasicContentExecutor.cpp @@ -276,10 +276,16 @@ void BasicContentExecutor::processLog(XERCESC_NS::DOMElement* content) { std::string expr = ATTR(content, kXMLCharExpr); Data d = _callbacks->evalAsData(expr); +#if 1 if (label.size() > 0) { _callbacks->getLogger().log(USCXML_LOG) << label << ": "; } _callbacks->getLogger().log(USCXML_LOG) << d << std::endl; +#else + // see issue113 + _callbacks->getLogger().log(USCXML_LOG) << (label.size() > 0 ? label + ":" : "") << d << std::endl; +#endif + } void BasicContentExecutor::processScript(XERCESC_NS::DOMElement* content) { |