From 2fb86bda7e810639bb739c0ea26dabb0788d190d Mon Sep 17 00:00:00 2001
From: Martin Gels <gels@astron.nl>
Date: Thu, 12 Mar 2009 13:00:25 +0000
Subject: [PATCH] bug 1005: Messages changed for used in LofarLogCout or
 LofarLog4Cplus.

---
 RTCP/Interface/include/Interface/PipelineOutput.h | 2 +-
 RTCP/Interface/include/Interface/StreamableData.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/RTCP/Interface/include/Interface/PipelineOutput.h b/RTCP/Interface/include/Interface/PipelineOutput.h
index d26a90ced11..240725b21e9 100644
--- a/RTCP/Interface/include/Interface/PipelineOutput.h
+++ b/RTCP/Interface/include/Interface/PipelineOutput.h
@@ -160,7 +160,7 @@ inline PipelineOutputSet::PipelineOutputSet( const Parset &ps, Allocator &alloca
   }
 
   if( ps.IONintegrationSteps() > 1 && !o->itsData->isIntegratable() ) {
-    std::cerr << "WARNING: Not integrating output because the output data type does not support integration." << std::endl;
+    LOG_WARN("Not integrating output because the output data type does not support integration.");
   } else {
     o->itsIONintegrationSteps = ps.IONintegrationSteps();
   }
diff --git a/RTCP/Interface/include/Interface/StreamableData.h b/RTCP/Interface/include/Interface/StreamableData.h
index 83383c04df5..9882310cff7 100644
--- a/RTCP/Interface/include/Interface/StreamableData.h
+++ b/RTCP/Interface/include/Interface/StreamableData.h
@@ -49,7 +49,7 @@ class StreamableData {
     { return integratable; }
 
     virtual StreamableData &operator+=( const StreamableData & ) 
-    { std::clog << "WARNING: Integration not implemented" << std::endl; return *this; }
+    { LOG_WARN("Integration not implemented."); return *this; }
 
     uint32_t sequenceNumber;
 
@@ -166,7 +166,7 @@ template <typename T, unsigned DIM> inline void SampleData<T,DIM>::writeData( St
   if( !itsHaveWarnedLittleEndian ) {
     itsHaveWarnedLittleEndian = true;
 
-    std::clog << "Warning: writing data in little endian." << std::endl;
+     LOG_WARN("writing data in little endian.");
   }
   //THROW(AssertError, "not implemented: think about endianness");
 #endif
-- 
GitLab