Callback function to log messages generated by the library
#include <swu/UpdateClient.h>
typedef void( *swu_logging_callback_t )
( swu_log_level_t level,
const char *message,
va_list msg_args );
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
The swu_logging_callback_t data type defines the prototype for a callback function that must be registered with swu_client_set_logging_callback() to receive log messages from the library. These messages may be errors, warnings, or debugging information. The callback function can set the level parameter to filter the messages by severity.