(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.31 and 1.33

version 1.31, 2007/10/17 20:37:27 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;
Line 74 
Line 55 
         TRACE_LOG,         TRACE_LOG,
         STANDARD_LOG,         STANDARD_LOG,
         AUDIT_LOG, // Use only if PEGASUS_ENABLE_AUDIT_LOGGER is defined         AUDIT_LOG, // Use only if PEGASUS_ENABLE_AUDIT_LOGGER is defined
         ERROR_LOG,          ERROR_LOG
         DEBUG_LOG  
     };     };
  
     enum { NUM_LOGS = 5 };      enum { NUM_LOGS = 4 };
  
     /** Log file Level - Defines the loglevel of the log entry irrespective of     /** Log file Level - Defines the loglevel of the log entry irrespective of
         which log file it goes into. This is actually a bit mask as defined in         which log file it goes into. This is actually a bit mask as defined in


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2