From: Christophe Bourcier Date: Fri, 21 Apr 2023 14:07:33 +0000 (+0200) Subject: Don't use LocalTraceCollector for BRIEF_INFOS so that it is always displayed (no... X-Git-Tag: V9_11_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a6bd3b78c18ead877bbaa5ef903014eaa8bee5f;p=modules%2Fkernel.git Don't use LocalTraceCollector for BRIEF_INFOS so that it is always displayed (no matter of the verbosity) --- diff --git a/src/SALOMELocalTrace/utilities.h b/src/SALOMELocalTrace/utilities.h index aeea32f8d..531042e51 100644 --- a/src/SALOMELocalTrace/utilities.h +++ b/src/SALOMELocalTrace/utilities.h @@ -64,7 +64,7 @@ // --- Some macros are always defined (without _DEBUG_): for use with release version #define INFOS(msg) {MESS_BEGIN("- Trace ") << msg << MESS_END} -#define BRIEF_INFOS(msg) {std::ostringstream os; os<< msg << std::endl; LocalTraceBufferPool::instance()->insert(BRIEF_MESS, os.str().c_str());} +#define BRIEF_INFOS(msg) {std::cout << msg << std::endl;} #define PYSCRIPT(msg) {MESS_INIT("---PYSCRIPT--- ") << msg << MESS_END} #define INTERRUPTION(msg) {MESS_BEGIN("- INTERRUPTION: ")<< msg << MESS_ABORT}