strusTrace  0.17
Public Member Functions | List of all members
strus::TraceLoggerInterface Class Referenceabstract

Interface providing a storage object builder interface with tracing and querying of traces. More...

#include <traceLoggerInterface.hpp>

Public Member Functions

virtual ~TraceLoggerInterface ()
 Destructor. More...
 
virtual TraceLogRecordHandle logMethodCall (const char *className, const char *methodName, const TraceObjectId &objId)=0
 Writes an entry to the method call log. More...
 
virtual void logMethodTermination (const TraceLogRecordHandle &loghnd, const std::vector< TraceElement > &parameter)=0
 Log the termination of a method call. More...
 
virtual bool close ()=0
 Terminate logging, flush data logged to storage. More...
 

Detailed Description

Interface providing a storage object builder interface with tracing and querying of traces.

Constructor & Destructor Documentation

virtual strus::TraceLoggerInterface::~TraceLoggerInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual bool strus::TraceLoggerInterface::close ( )
pure virtual

Terminate logging, flush data logged to storage.

virtual TraceLogRecordHandle strus::TraceLoggerInterface::logMethodCall ( const char *  className,
const char *  methodName,
const TraceObjectId objId 
)
pure virtual

Writes an entry to the method call log.

Parameters
[in]classNameidentifier of the caller object class
[in]methodNameidentifier of the method called
[in]objIdobject identifier of the caller
Returns
handle of the log message written. Used to reference the record in logMethodTermination
virtual void strus::TraceLoggerInterface::logMethodTermination ( const TraceLogRecordHandle loghnd,
const std::vector< TraceElement > &  parameter 
)
pure virtual

Log the termination of a method call.

Parameters
[in]loghndhandl of the record that specifies the method call, returned by logMethodCall.
[in]parameterreturn value and in/out parameter values

The documentation for this class was generated from the following file: