(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.1.2.5 and 1.1.2.6

version 1.1.2.5, 2001/08/21 23:20:55 version 1.1.2.6, 2001/10/24 20:44:37
Line 66 
Line 66 
  
     #ifdef PEGASUS_REMOVE_TRACE     #ifdef PEGASUS_REMOVE_TRACE
  
           inline static void traceBuffer(
               const char*  fileName,
               const Uint32 lineNum,
               const Uint32 traceComponent,
               const Uint32 traceLevel,
               const char*  data,
               const Uint32 size)
           {
               // empty function
           }
           inline static void traceBuffer(
               const Uint32 traceComponent,
               const Uint32 traceLevel,
               const char* data,
               const Uint32 size)
           {
               // empty function
           }
   
         inline static void trace(         inline static void trace(
             const Uint32 traceComponent,             const Uint32 traceComponent,
             const Uint32 traceLevel,             const Uint32 traceLevel,
Line 105 
Line 124 
  
  
     #else     #else
           /** Traces the specified number of bytes in a given buffer
               @param    traceComponent  component being traced
               @param    traceLevel      trace level of the trace message
               @param    data            buffer to be traced
               @param    size            number of bytes to be traced
            */
           inline static void traceBuffer(
               const Uint32 traceComponent,
               const Uint32 traceLevel,
               const char*  data,
               const Uint32 size)
           {
               _traceBuffer( traceComponent, traceLevel, data, size );
           }
   
           /** Traces the specified number of bytes in a given buffer
               Overloaded to include the filename and the line number
               of trace origin.
               @param    fileName        filename of the trace originator
               @param    lineNum         line number of the trace originator
               @param    traceComponent  component being traced
               @param    traceLevel      trace level of the trace message
               @param    data            buffer to be traced
               @param    size            size of the buffer
            */
           inline static void traceBuffer(
               const char*  fileName,
               const Uint32 lineNum,
               const Uint32 traceComponent,
               const Uint32 traceLevel,
               const char*  data,
               const Uint32 size)
           {
               _traceBuffer( fileName, lineNum,
                             traceComponent, traceLevel, data, size );
           }
   
  
         /** Traces the given message         /** Traces the given message
             @param    traceComponent  component being traced             @param    traceComponent  component being traced
Line 232 
Line 288 
     // Message Strings for Logger     // Message Strings for Logger
     static const char _LOG_MSG1[];     static const char _LOG_MSG1[];
     static const char _LOG_MSG2[];     static const char _LOG_MSG2[];
       static const char _LOG_MSG3[];
  
     // Checks if trace is enabled for the given component and trace level     // Checks if trace is enabled for the given component and trace level
     // @param    traceComponent  component being traced     // @param    traceComponent  component being traced
Line 268 
Line 325 
         const char* fmt,         const char* fmt,
         va_list argList);         va_list argList);
  
       //  Traces the specified number of bytes in a given buffer
       //  @param    traceComponent  component being traced
       //  @param    traceLevel      trace level of the trace message
       //  @param    data            buffer to be traced
       //  @param    size            number of bytes to be traced
       static void _traceBuffer(
           const Uint32 traceComponent,
           const Uint32 traceLevel,
           const char*  data,
           const Uint32 size);
   
       //  Traces the specified number of bytes in a given buffer
       //  Overloaded to include the filename and the line number
       //  of trace origin.
       //  @param    fileName        filename of the trace originator
       //  @param    lineNum         line number of the trace originator
       //  @param    traceComponent  component being traced
       //  @param    traceLevel      trace level of the trace message
       //  @param    data            buffer to be traced
       //  @param    size            size of the buffer
       static void _traceBuffer(
           const char*  fileName,
           const Uint32 lineNum,
           const Uint32 traceComponent,
           const Uint32 traceLevel,
           const char*  data,
           const Uint32 size);
   
     // Called by all the trace interfaces to log message to the     // Called by all the trace interfaces to log message to the
     // trace file     // trace file
     // @param    fileName        filename of the trace originator     // @param    fileName        filename of the trace originator
Line 279 
Line 364 
         const Uint32 traceComponent,         const Uint32 traceComponent,
         const char* message,         const char* message,
         const char* fmt,         const char* fmt,
         va_list argList);          va_list argList=0);
  
     // Traces method enter     // Traces method enter
     // @param    fileName        filename of the trace originator     // @param    fileName        filename of the trace originator


Legend:
Removed from v.1.1.2.5  
changed lines
  Added in v.1.1.2.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2