diff Framework/Scene2D/FloatTextureSceneLayer.cpp @ 1289:343aa1dfaa90 bugs/2020-02-invisible-slice

Ongoing work on invisible slice bug (logging + removed unused function)
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 19 Feb 2020 17:05:08 +0100
parents 8e82fdc6200e
children 7def6ab2929f
line wrap: on
line diff
--- a/Framework/Scene2D/FloatTextureSceneLayer.cpp	Fri Feb 14 15:30:36 2020 +0100
+++ b/Framework/Scene2D/FloatTextureSceneLayer.cpp	Wed Feb 19 17:05:08 2020 +0100
@@ -43,12 +43,12 @@
 
       if (OrthancStone_Internals_dump_LoadTexture_histogram == 1)
       {
-        LOG(ERROR) << "+----------------------------------------+";
-        LOG(ERROR) << "|        This is not an error!           |";
-        LOG(ERROR) << "+----------------------------------------+";
-        LOG(ERROR) << "Work on the \"invisible slice\" bug";
-        LOG(ERROR) << "in FloatTextureSceneLayer::FloatTextureSceneLayer";
-        LOG(ERROR) << "will dump \"t\" after \"Orthanc::ImageProcessing::Convert(*t, texture);\"";
+        LOG(INFO) << "+----------------------------------------+";
+        LOG(INFO) << "|        This is not an error!           |";
+        LOG(INFO) << "+----------------------------------------+";
+        LOG(INFO) << "Work on the \"invisible slice\" bug";
+        LOG(INFO) << "in FloatTextureSceneLayer::FloatTextureSceneLayer";
+        LOG(INFO) << "will dump \"t\" after \"Orthanc::ImageProcessing::Convert(*t, texture);\"";
 
         HistogramData hd;
         double minValue = 0;
@@ -58,10 +58,10 @@
         ComputeHistogram(*t, hd, binSize);
         std::string s;
         DumpHistogramResult(s, hd);
-        LOG(ERROR) << s;
-        LOG(ERROR) << "+----------------------------------------+";
-        LOG(ERROR) << "|        end of debug dump               |";
-        LOG(ERROR) << "+----------------------------------------+";
+        LOG(INFO) << s;
+        LOG(INFO) << "+----------------------------------------+";
+        LOG(INFO) << "|        end of debug dump               |";
+        LOG(INFO) << "+----------------------------------------+";
       }
 
       SetTexture(t.release());