Function GenieEngineConfig_bindLogger

Function Documentation

Genie_Status_t GenieEngineConfig_bindLogger(const GenieEngineConfig_Handle_t configHandle, const GenieLog_Handle_t logHandle)

A function to bind a log handle to engine config. The log handle will also be bound to any engine handle created from this engine config handle.

Parameters
  • configHandle[in] A handle to a valid config.

  • logHandle[in] The log handle using which logs are recorded and outputted. Cannot be NULL.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Config handle or log handle is invalid.