Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bos #32517][EDF] Dynamic logging: Removed some of _DEBUG_ entries.
[modules/smesh.git]
/
src
/
SMESHUtils
/
SMESH_TryCatch.cxx
diff --git
a/src/SMESHUtils/SMESH_TryCatch.cxx
b/src/SMESHUtils/SMESH_TryCatch.cxx
index 1c5044f0c0d5661d67191cc91c0158126e33f1ad..49bfe9c53fe393346dde50962274173f4d47bf82 100644
(file)
--- a/
src/SMESHUtils/SMESH_TryCatch.cxx
+++ b/
src/SMESHUtils/SMESH_TryCatch.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
0
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-202
2
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-39,6
+39,12
@@
const char* SMESH::returnError(const char* txt)
return txt;
}
return txt;
}
+void SMESH::printErrorInDebugMode(const char* txt)
+{
+ if (SALOME::VerbosityActivated())
+ std::cerr << txt << " " << __FILE__ << ": " << __LINE__ << std::endl;
+}
+
// ------------------------------------------------------------------
#include "SMESH_ComputeError.hxx"
// ------------------------------------------------------------------
#include "SMESH_ComputeError.hxx"