enum libusb_log_level

Overview

Log message levels. Moreā€¦

#include <libusb.h>

enum libusb_log_level {
    LIBUSB_LOG_LEVEL_NONE    = 0,
    LIBUSB_LOG_LEVEL_ERROR,
    LIBUSB_LOG_LEVEL_WARNING,
    LIBUSB_LOG_LEVEL_INFO,
    LIBUSB_LOG_LEVEL_DEBUG,
};

Detailed Documentation

Log message levels.

  • LIBUSB_LOG_LEVEL_NONE (0) : no messages ever printed by the library (default)

  • LIBUSB_LOG_LEVEL_ERROR (1) : error messages are printed to stderr

  • LIBUSB_LOG_LEVEL_WARNING (2) : warning and error messages are printed to stderr

  • LIBUSB_LOG_LEVEL_INFO (3) : informational messages are printed to stdout, warning and error messages are printed to stderr

  • LIBUSB_LOG_LEVEL_DEBUG (4) : debug and informational messages are printed to stdout, warnings and errors to stderr