Exemple #1
0
func (c *Context) Debug(level int) {
	C.libusb_set_debug(c.ctx, C.int(level))
}
Exemple #2
0
func (c *Context) SetDebug(level int) {
	C.libusb_set_debug(c.me(), C.int(level))
}
Exemple #3
0
func (ctx *Context) SetDebug(level int) {
	ctx.doinit()
	C.libusb_set_debug(ctx.ctx, C.int(level))
}