Function GenieEmbeddingConfig_bindLogger

Function Documentation

Genie_Status_t GenieEmbeddingConfig_bindLogger(const GenieEmbeddingConfig_Handle_t configHandle, const GenieLog_Handle_t logHandle)

A function to bind a log handle to embedding config. The log handle will also be bound to any embedding handle created from this 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.