Function GenieNodeConfig_bindLogger

Function Documentation

Genie_Status_t GenieNodeConfig_bindLogger(const GenieNodeConfig_Handle_t configHandle, const GenieLog_Handle_t logHandle)

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