From 0a6bdd6b6e21f313815217068d9635b7e1513c18 Mon Sep 17 00:00:00 2001 From: Konstantin LEONTEV Date: Thu, 13 Oct 2022 10:07:06 +0300 Subject: [PATCH] [bos #32517][EDF] Dynamic logging: Removed MYDEBUG. --- src/SVTK/SVTK_ImageWriter.cxx | 20 +++++------ src/SVTK/SVTK_ImageWriterMgr.cxx | 26 +++++++-------- src/SVTK/SVTK_Recorder.cxx | 33 ++++++++++--------- .../VTKViewer_ExtractUnstructuredGrid.cxx | 8 ++--- 4 files changed, 43 insertions(+), 44 deletions(-) diff --git a/src/SVTK/SVTK_ImageWriter.cxx b/src/SVTK/SVTK_ImageWriter.cxx index 2d52dff70..b56b125a9 100644 --- a/src/SVTK/SVTK_ImageWriter.cxx +++ b/src/SVTK/SVTK_ImageWriter.cxx @@ -19,6 +19,8 @@ #include "SVTK_ImageWriter.h" +#include "utilities.h" + #include #include @@ -27,12 +29,6 @@ #include #include -#ifdef _DEBUG_ -static int MYDEBUG = 0; -#else -static int MYDEBUG = 0; -#endif - //---------------------------------------------------------------------------- SVTK_ImageWriter @@ -55,7 +51,8 @@ SVTK_ImageWriter SVTK_ImageWriter ::~SVTK_ImageWriter() { - if(MYDEBUG) cout<<"SVTK_ImageWriter::~SVTK_ImageWriter - this = "< #include @@ -27,13 +29,6 @@ #include - -#ifdef _DEBUG_ -static int MYDEBUG = 0; -#else -static int MYDEBUG = 0; -#endif - //---------------------------------------------------------------------------- SVTK_ImageWriterMgr ::SVTK_ImageWriterMgr() @@ -41,9 +36,8 @@ SVTK_ImageWriterMgr int aMax = std::numeric_limits::max() / 2; mySemaphore = new QSemaphore(aMax); mySemaphore->acquire( aMax ); - if(MYDEBUG) cout<<"SVTK_ImageWriterMgr::SVTK_ImageWriterMgr "<< - //"- total = "<total()<< - "; available = "<available()< NUL"; #endif - if(MYDEBUG) cout<<"SVTK_Recorder::MakeFileAVI - "<<(const char*)aCommand.toUtf8()<GetNumberOfCells() = "<GetNumberOfCells()); MESSAGE("Execute - myCellTypes.size() = "<GetNumberOfCells() = "<GetNumberOfCells()); if(myStoreMapping){ MESSAGE("Execute - myOut2InId.size() = "<