setAPITraceLevel

This function sets the trace level of the statistics C API.

Detail

This function takes an int value. The function sets the trace level of the C API to this value.

The default trace destination is stderr. Use the function setAPITraceFile to choose a different trace destination.

The status values are defined in the C language header files. Valid values are:
  • CTG_STAT_TRACE_LEVEL0
  • CTG_STAT_TRACE_LEVEL1
  • CTG_STAT_TRACE_LEVEL2
  • CTG_STAT_TRACE_LEVEL3
  • CTG_STAT_TRACE_LEVEL4

For further information on trace levels, see Statistics C API trace levels.