From: dmv Date: Mon, 7 Jul 2008 09:15:04 +0000 (+0000) Subject: Bug IPAL18631 REGRESS of logger - nothing apperared in log file in the IAPP-002 test... X-Git-Tag: V4_1_4a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b9ab44992965201e950b8307ee7b96be1c6beab;p=modules%2Fgui.git Bug IPAL18631 REGRESS of logger - nothing apperared in log file in the IAPP-002 test scenario checkpoints --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index e13bc421a..6486e0285 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -66,6 +66,8 @@ #include #include +#include "utilities.h" + #ifndef DISABLE_GLVIEWER #include #include @@ -583,9 +585,9 @@ void LightApp_Application::createActions() if ( icon.isNull() ) { icon = modIcon; - printf( "****************************************************************\n" ); - printf( "* Icon for %s not found. Using the default one.\n", (*it).latin1() ); - printf( "****************************************************************\n" ); + INFOS ( "****************************************************************" << std::endl + << "* Icon for " << (*it).latin1() << " not found. Using the default one." << std::endl + << "****************************************************************" << std::endl ); } icon.convertFromImage( icon.convertToImage().smoothScale( iconSize, iconSize, QImage::ScaleMin ) ); @@ -2606,10 +2608,10 @@ bool LightApp_Application::isLibExists( const QString& moduleTitle ) const if ( !isLibFound ) { - printf( "****************************************************************\n" ); - printf( "* Warning: library %s cannot be found\n", lib.latin1() ); - printf( "* Module %s will not be available in GUI mode\n", moduleTitle.latin1() ); - printf( "****************************************************************\n" ); + INFOS( "****************************************************************" << std::endl + << "* Warning: library " << lib.latin1() << " cannot be found" << std::endl + << "* Module " << moduleTitle.latin1() << " will not be available in GUI mode" << std::endl + << "****************************************************************" << std::endl ); } else if ( !isPythonModule ) return true;