Trace
Tracing and debugging for the C++ Replication API
This class allows you to manage debug and tracing.
This class allows you to manage debug and tracing.
Class
FCREPLDBEngineTrace
Trace status by DBEngine.
Getters
Getters are not applicable.
Inherited getters
DBEngine identification NoteThis is linked to FCREPLDBEngine class. |
|
Return if trace is enabled |
|
Update the tracing status by enabling or disabling any of its type of tracing capabilities.
Prototype
FCREPL_API int fcReplSetTrace(pFCREPLConn replConn, bool enableWebTrace, bool globalEnableTrace, ppFCREPLDBEngineTrace traceList, int traceListCount);
Parameters
Parameter | Description |
---|---|
| Replication connection handle |
| Web API trace enable status |
| Global trace enable status |
| List of trace enable status by DBEngine |
| Number of trace objects in the list |
Return
Error code
Retrieve the current tracing status.
Prototype
FCREPL_API int fcReplGetTrace(pFCREPLConn replConn, bool *enableWebTrace, bool *globalEnableTrace);
Parameters
Parameter | Description |
---|---|
| Replication connection handle |
| Web trace setup |
| Global trace setup |
Return
Error code