|
CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Public Log API. More...
Typedefs | |
| typedef void(VX_CALLBACK * | vx_log_callback_f) (vx_context context, vx_reference ref, vx_status status, const vx_char string[]) |
| The log callback function. | |
Functions | |
| VX_API_ENTRY void VX_API_CALL | vxAddLogEntry (vx_reference ref, vx_status status, const char *message,...) |
| Adds a line to the log. | |
| VX_API_ENTRY void VX_API_CALL | vxRegisterLogCallback (vx_context context, vx_log_callback_f callback, vx_bool reentrant) |
| Registers a callback facility to the OpenVX implementation to receive error logs. | |
The Public Log API.
| typedef void(VX_CALLBACK * vx_log_callback_f) (vx_context context, vx_reference ref, vx_status status, const vx_char string[]) |
#include <vx_types.h>
The log callback function.
| VX_API_ENTRY void VX_API_CALL vxAddLogEntry | ( | vx_reference | ref, |
| vx_status | status, | ||
| const char * | message, | ||
| ... ) |
#include <vx_api.h>
Adds a line to the log.
| [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. |
VX_MAX_LOG_MESSAGE_LEN bytes and will be truncated in the log if they exceed this limit. | VX_API_ENTRY void VX_API_CALL vxRegisterLogCallback | ( | vx_context | context, |
| vx_log_callback_f | callback, | ||
| vx_bool | reentrant ) |
#include <vx_api.h>
Registers a callback facility to the OpenVX implementation to receive error logs.
| [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). |