Defines the debug logging interface.
The functions of the debugging interface allow clients to receive important debugging information about OpenVX.
- See also
- vx_status_e for the list of possible errors.
Log messages only can be received after the callback is installed.
Adds a line to the log.
- Parameters
-
[in] | ref | The reference to add the log entry against. Some valid value must be provided. |
[in] | status | The status code. VX_SUCCESS status entries are ignored and not added. |
[in] | message | The human readable message to add to the log. |
[in] | ... | a list of variable arguments to the message. |
- Note
- Messages may not exceed
VX_MAX_LOG_MESSAGE_LEN
bytes and will be truncated in the log if they exceed this limit.
Registers a callback facility to the OpenVX implementation to receive error logs.
- Parameters
-
[in] | context | The overall context to OpenVX. |
[in] | callback | The callback function. If NULL, the previous callback is removed. |
[in] | reentrant | If reentrancy flag is vx_true_e , then the callback may be entered from multiple simultaneous tasks or threads (if the host OS supports this). |