Function GeniePipelineConfig_bindLogger

Function Documentation

Genie_Status_t GeniePipelineConfig_bindLogger(const GeniePipelineConfig_Handle_t configHandle, const GenieLog_Handle_t logHandle)

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