strusBase  0.17
Public Member Functions | List of all members
strus::DebugTraceContextInterface Class Referenceabstract

Interface for reporting debug trace messages in a uniform way. More...

#include <debugTraceInterface.hpp>

Public Member Functions

virtual ~DebugTraceContextInterface ()
 Destructor. More...
 
virtual void open (const char *type, const std::string &name=std::string())=0
 Hierarchical open of a scope of events. More...
 
virtual void close ()=0
 Close of the current scope. More...
 
virtual void event (const char *eventid, const char *format,...)=0
 Report an event. More...
 

Detailed Description

Interface for reporting debug trace messages in a uniform way.

Constructor & Destructor Documentation

virtual strus::DebugTraceContextInterface::~DebugTraceContextInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual void strus::DebugTraceContextInterface::close ( )
pure virtual

Close of the current scope.

virtual void strus::DebugTraceContextInterface::event ( const char *  eventid,
const char *  format,
  ... 
)
pure virtual

Report an event.

Parameters
[in]eventidevent id static const string describing the type of an event
[in]formaterror message format string
Remarks
must not throw
virtual void strus::DebugTraceContextInterface::open ( const char *  type,
const std::string &  name = std::string() 
)
pure virtual

Hierarchical open of a scope of events.

Parameters
[in]typetype of the structure
[in]namename of the structure
Remarks
must not throw

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