(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.50 and 1.54

version 1.50, 2011/01/25 12:10:21 version 1.54, 2013/07/04 09:54:17
Line 90 
Line 90 
     TRC_CMPIPROVIDERINTERFACE,     TRC_CMPIPROVIDERINTERFACE,
     TRC_WSMSERVER,     TRC_WSMSERVER,
     TRC_LOGMSG,     TRC_LOGMSG,
     TRC_WMI_MAPPER_CONSUMER      TRC_WMI_MAPPER_CONSUMER,
       TRC_INTERNALPROVIDER
 }; };
  
 /** Token used for tracing functions. /** Token used for tracing functions.
Line 107 
Line 108 
 { {
 public: public:
  
       /** Trace Components list defines the strings repesenting each
           TraceComponentId entry. Externalized to allow display of the
           possible list of trace components.  The size of this list is
           defined in _NUM_COMPONENTS variable.
        */
       static char const* TRACE_COMPONENT_LIST[];
   
     /** Trace facilities     /** Trace facilities
         File - tracing occurs to the trace file         File - tracing occurs to the trace file
         Log  - tracing occurs through the Pegasus Logger class         Log  - tracing occurs through the Pegasus Logger class
Line 234 
Line 242 
     */     */
     static Boolean setTraceMemoryBufferSize(Uint32 bufferSize);     static Boolean setTraceMemoryBufferSize(Uint32 bufferSize);
  
       /** Set the Max trace File Size and used for the File tracing
           @param maxLogFileSizeBytes size of cimserver.trc
       */
       static void setMaxTraceFileSize (const String &size);
   
       /** Set the Max trace File number
           @param maxLogFileNumber number of cimserver.trc in trace folder
       */
       static void setMaxTraceFileNumber(const String &numberOfFiles);
   
     /** Flushes the trace buffer to traceFilePath. This method will only     /** Flushes the trace buffer to traceFilePath. This method will only
         have an effect when traceFacility=Memory.         have an effect when traceFacility=Memory.
     */     */
Line 318 
Line 336 
                 (_traceComponentMask & ((Uint64)1 << traceComponent)));                 (_traceComponentMask & ((Uint64)1 << traceComponent)));
     }     }
  
       //
       //Converts a given string representation of a trace property into Uint32.
       //If the string reperesantation is not valid, the returnd bufferSize is 0.
       //@param  traceProperty     The trace property value as string
       //@param  valueInUint32     Returns the value as Uint32.
       //@return Boolean           True if specified size is a
       //                          valid string representaion of a Uint32.
       static Boolean tracePropertyToUint32( const String& traceProperty,
                 Uint32& valueInUint32 );
   
 private: private:
  
     /** A static single indicator if tracing is turned on allowing to     /** A static single indicator if tracing is turned on allowing to
Line 519 
Line 547 
     return;     return;
 } }
  
   
   
 #endif /* PEGASUS_REMOVE_TRACE */ #endif /* PEGASUS_REMOVE_TRACE */
  
 //============================================================================== //==============================================================================


Legend:
Removed from v.1.50  
changed lines
  Added in v.1.54

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2