LIBUSB_OPTION_LOG_CB constant

int const LIBUSB_OPTION_LOG_CB

Set the context log callback function.

Set the log callback function either on a context or globally. This option must be provided an argument of type \ref libusb_log_cb. Using this option with a NULL context is equivalent to calling libusb_set_log_cb() with mode \ref LIBUSB_LOG_CB_GLOBAL. Using it with a non-NULL context is equivalent to calling libusb_set_log_cb() with mode \ref LIBUSB_LOG_CB_CONTEXT.

Implementation

static const int LIBUSB_OPTION_LOG_CB = 3;