(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.24 and 1.27

version 1.24, 2006/01/30 16:17:04 version 1.27, 2006/10/17 21:24:41
Line 45 
Line 45 
 #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) \ #define PEG_LOGGER_TRACE(ARGS_LIST) \
     do \     do \
     { \     { \
Line 54 
Line 62 
         } \         } \
     } \     } \
     while (0)     while (0)
   #endif
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 69 
Line 78 
     {     {
         TRACE_LOG,         TRACE_LOG,
         STANDARD_LOG,         STANDARD_LOG,
           AUDIT_LOG,
         ERROR_LOG,         ERROR_LOG,
         DEBUG_LOG         DEBUG_LOG
     };     };
  
     enum { NUM_LOGS = 4 };      enum { NUM_LOGS = 5 };
  
     /** 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
Line 100 
Line 110 
         @param Arg0 - Arg 9 - Up to 9 arguments representing the variables         @param Arg0 - Arg 9 - Up to 9 arguments representing the variables
         that go into the log entry.         that go into the log entry.
         <pre>         <pre>
         Logger::put(Logger::TRACE_LOG, "CIMServer", Logger::WARNING,          Logger::put(Logger::TRACE_LOG, System::CIMSERVER, Logger::WARNING,
             "X=$0, Y=$1, Z=$2", 88,  "Hello World", 7.5);             "X=$0, Y=$1, Z=$2", 88,  "Hello World", 7.5);
         </pre>         </pre>
     */     */
Line 174 
Line 184 
         @param Arg0 - Arg 9 - Up to 9 arguments representing the variables         @param Arg0 - Arg 9 - Up to 9 arguments representing the variables
         that go into the log entry.         that go into the log entry.
         <pre>         <pre>
         Logger::put(Logger::TRACE_LOG, "CIMServer", Logger::WARNING,          Logger::put(Logger::TRACE_LOG, System::CIMSERVER, Logger::WARNING,
             "X=$0, Y=$1, Z=$2", 88,  "Hello World", 7.5);             "X=$0, Y=$1, Z=$2", 88,  "Hello World", 7.5);
         </pre>         </pre>
     */     */


Legend:
Removed from v.1.24  
changed lines
  Added in v.1.27

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2