(file) Return to Logger.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Logger.h between version 1.32 and 1.33

version 1.32, 2008/05/07 19:41:42 version 1.33, 2008/05/15 17:24:34
Line 40 
Line 40 
 #include <Pegasus/Common/System.h> #include <Pegasus/Common/System.h>
 #include <Pegasus/Common/MessageLoader.h> #include <Pegasus/Common/MessageLoader.h>
  
 // The Logger::trace optimization introduces the PEG_LOGGER_TRACE macro which  
 // propagates branch conditions wherever it is used.  The optimization is  
 // disabled for C-Cover builds so the coverage of these branches is not  
 // measured.  
 #ifdef PEGASUS_CCOVER  
 # define PEG_LOGGER_TRACE(ARGS_LIST) \  
     Logger::trace ARGS_LIST  
 #else  
 # define PEG_LOGGER_TRACE(ARGS_LIST) \  
     do \  
     { \  
         if (Logger::wouldLog(Logger::TRACE)) \  
         { \  
             Logger::trace ARGS_LIST ; \  
         } \  
     } \  
     while (0)  
 #endif  
   
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 class LoggerRep; class LoggerRep;


Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2