strus toplevel namespace
More...
|
struct | TraceElement |
| Element type used to describe traced structures. Any atomic value or structure is described as sequence of trace elements. More...
|
|
class | TraceLoggerInterface |
| Interface providing a storage object builder interface with tracing and querying of traces. More...
|
|
class | TraceObjectBuilderInterface |
| Interface for creating proxies for Strus objects that log methods called besides calling them. More...
|
|
Handle of a trace log entry.
Unique object identifier.
Unique timestamp of logged events.
TraceLoggerInterface* strus::createTraceLogger_breakpoint |
( |
const std::string & |
config, |
|
|
ErrorBufferInterface * |
errorhnd |
|
) |
| |
Create an interface to the trace logger than enables you to set debugger breakpoints on specific method calls.
- Parameters
-
[in] | config | configuration string of the logger |
[in] | errorhnd | error buffer interface |
- Returns
- the logger interface
TraceLoggerInterface* strus::createTraceLogger_count |
( |
const std::string & |
config, |
|
|
ErrorBufferInterface * |
errorhnd |
|
) |
| |
Create an interface to the trace logger counting method call events (with the possibility to group by another type of event) ant writing the final counts to stdout or file.
- Parameters
-
[in] | config | configuration string of the logger |
[in] | errorhnd | error buffer interface |
- Returns
- the logger interface
TraceLoggerInterface* strus::createTraceLogger_dump |
( |
const std::string & |
config, |
|
|
ErrorBufferInterface * |
errorhnd |
|
) |
| |
Create an interface to the trace logger writing a trace immediately to stdout or file.
- Parameters
-
[in] | config | configuration string of the logger |
[in] | errorhnd | error buffer interface |
- Returns
- the logger interface
TraceLoggerInterface* strus::createTraceLogger_json |
( |
const std::string & |
config, |
|
|
ErrorBufferInterface * |
errorhnd |
|
) |
| |
Create an interface to the trace logger creating a call tree representation in JSON.
- Parameters
-
[in] | config | configuration string of the logger |
[in] | errorhnd | error buffer interface |
- Returns
- the logger interface
Create a proxy object to wrap storage and analyzer object builder and all descendant objects to log all methods called besides calling them.
- Parameters
-
[in] | tracelog | trace logger interface to use (ownership passed to returned object) |
[in] | errorhnd | error buffer for error messages and exceptions |