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

Diff for /pegasus/src/Pegasus/Common/Tracer.h between version 1.4 and 1.5

version 1.4, 2002/01/17 05:33:49 version 1.5, 2002/02/15 23:01:20
Line 422 
Line 422 
 #ifdef PEGASUS_REMOVE_TRACE #ifdef PEGASUS_REMOVE_TRACE
     #define PEG_FUNC_ENTER(traceComponent,methodName)     #define PEG_FUNC_ENTER(traceComponent,methodName)
     #define PEG_FUNC_EXIT(traceComponent,methodName)     #define PEG_FUNC_EXIT(traceComponent,methodName)
       #define PEG_METHOD_ENTER(traceComponent,methodName)
       #define PEG_METHOD_EXIT()
 #else #else
     /** Macro for tracing method entry     /** Macro for tracing method entry
           ATTN: Phase out in favor of PEG_METHOD_ENTER
         @param    traceComponent  component being traced         @param    traceComponent  component being traced
         @param    methodName      name of the method         @param    methodName      name of the method
      */      */
Line 431 
Line 434 
         Tracer::traceEnter(__FILE__, __LINE__,traceComponent,methodName)         Tracer::traceEnter(__FILE__, __LINE__,traceComponent,methodName)
  
     /** Macro for tracing method exit     /** Macro for tracing method exit
           ATTN: Phase out in favor of PEG_METHOD_EXIT
         @param    traceComponent  component being traced         @param    traceComponent  component being traced
         @param    methodName      name of the method         @param    methodName      name of the method
      */      */
     #define PEG_FUNC_EXIT(traceComponent,methodName) \     #define PEG_FUNC_EXIT(traceComponent,methodName) \
         Tracer::traceExit(__FILE__,__LINE__,traceComponent,methodName)         Tracer::traceExit(__FILE__,__LINE__,traceComponent,methodName)
   
       /** Macro for tracing method entry
           @param    traceComponent  component being traced
           @param    methodName      name of the method
        */
       #define PEG_METHOD_ENTER(traceComponent,methodName) \
           const char *PEG_METHOD_NAME = methodName; \
           const Uint32 PEG_TRACE_COMPONENT = traceComponent; \
           Tracer::traceEnter(__FILE__,__LINE__,PEG_TRACE_COMPONENT,PEG_METHOD_NAME)
   
       /** Macro for tracing method exit
        */
       #define PEG_METHOD_EXIT() \
           Tracer::traceExit(__FILE__,__LINE__,PEG_TRACE_COMPONENT,PEG_METHOD_NAME)
 #endif #endif
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2