-// Copyright (C) 2013-2020 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "GEOMUtils_XmlHandler.hxx"
#include <Basics_Utils.hxx>
+#include "utilities.h"
#include <libxml/parser.h>
#include <algorithm>
#include <unistd.h>
#endif
-//#define MYDEBUG
-
namespace
{
const char* env_var = "GEOM_PluginsList";
return xmlPaths;
}
-#ifdef MYDEBUG
void dumpinfo(const GEOMUtils::PluginInfo& info)
{
printf("DUMPING PLUGIN INFO\n");
printf("-----\n");
}
}
-#endif
}
namespace GEOMUtils
//xmlCleanupParser();//vsr: xmlCleanupParser should not be called from the application
} // end xml doc
}
-#ifdef MYDEBUG
- dumpinfo(info);
-#endif
+
+ if (SALOME::VerbosityActivated())
+ dumpinfo(info);
+
return info;
}
}