- usb_set_debug method added

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@188 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2006-10-27 12:41:08 +00:00
parent b8185bbebe
commit 94e032b926

View File

@@ -22,6 +22,17 @@ package ch.ntb.usb;
*/
public class LibusbWin {
/**
* Sets the debugging level of libusb.<br>
*
* The range is from 0 to 255, where 0 disables debug output and 255 enables
* all output. On application start, debugging is disabled (0)
*
* @param level
* 0 to 255
*/
public static native void usb_set_debug(int level);
// Core
/**
* Just like the name implies, <code>usb_init</code> sets up some internal