diff rdf/RDFTransformFactory.cpp @ 687:06f13a3b9e9e debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:09 +0100
parents b4a8d8221eaf
children 573d45e9487b
line wrap: on
line diff
--- a/rdf/RDFTransformFactory.cpp	Thu May 12 17:31:24 2011 +0100
+++ b/rdf/RDFTransformFactory.cpp	Mon May 16 17:19:09 2011 +0100
@@ -168,7 +168,7 @@
     m_isRDF = true;
 
     if (transformResults.empty()) {
-        cerr << "RDFTransformFactory: NOTE: No RDF/TTL transform descriptions found in document at <" << m_urlString << ">" << endl;
+        DEBUG << "RDFTransformFactory: NOTE: No RDF/TTL transform descriptions found in document at <" << m_urlString << ">" << endl;
         return transforms;
     }
 
@@ -272,7 +272,7 @@
                     } else if (optional == "block_size") {
                         transform.setBlockSize(v.value.toUInt());
                     } else if (optional == "window_type") {
-                        cerr << "NOTE: can't handle window type yet (value is \""
+                        DEBUG << "NOTE: can't handle window type yet (value is \""
                              << v.value << "\")" << endl;
                     } else if (optional == "sample_rate") {
                         transform.setSampleRate(v.value.toFloat());
@@ -289,7 +289,7 @@
             }
         }
 
-        cerr << "RDFTransformFactory: NOTE: Transform is: " << endl;
+        DEBUG << "RDFTransformFactory: NOTE: Transform is: " << endl;
         cerr << transform.toXmlString() << endl;
 
         transforms.push_back(transform);