summaryrefslogtreecommitdiff
path: root/libusb/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/core.c')
-rw-r--r--libusb/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libusb/core.c b/libusb/core.c
index a0880d9..6391bea 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -1590,6 +1590,8 @@ void usbi_log_v(struct libusb_context *ctx, enum usbi_log_level level,
return;
if (level == LOG_LEVEL_INFO && ctx->debug < 3)
return;
+ if (level == LOG_LEVEL_DEBUG && ctx->debug < 4)
+ return;
#endif
switch (level) {