Skip to main content

Trace

Tracing and debugging for the C++ Replication API

Abstract

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

Table 1. Inherited getters

DBEngine identification

Note

This is linked to FCREPLDBEngine class.

int GetDBEngineID();

Return if trace is enabled

bool GetEnabled();



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

Table 2. Parameters

Parameter

Description

replConn [IN]

Replication connection handle

enableWebTrace [IN]

Web API trace enable status

globalEnableTrace [IN]

Global trace enable status

traceList [IN]

List of trace enable status by DBEngine

traceListCount [IN]

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

Table 3. Parameters

Parameter

Description

replConn [IN]

Replication connection handle

enableWebTrace [OUT]

Web trace setup

globalEnableTrace [OUT]

Global trace setup



Return

Error code