- log level check fixed
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@193 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -346,7 +346,7 @@ public class Device {
|
||||
}
|
||||
|
||||
logger.info("length written: " + lenWritten);
|
||||
if (logger.getLevel().intValue() <= Level.FINEST.intValue()) {
|
||||
if (logger.isLoggable(Level.FINEST)) {
|
||||
StringBuffer sb = new StringBuffer("bulkwrite, ep 0x"
|
||||
+ Integer.toHexString(out_ep_address) + ": " + lenWritten
|
||||
+ " Bytes sent: ");
|
||||
@@ -407,7 +407,7 @@ public class Device {
|
||||
}
|
||||
|
||||
logger.info("length read: " + lenRead);
|
||||
if (logger.getLevel().intValue() <= Level.FINEST.intValue()) {
|
||||
if (logger.isLoggable(Level.FINEST)) {
|
||||
StringBuffer sb = new StringBuffer("bulkread, ep 0x"
|
||||
+ Integer.toHexString(in_ep_address) + ": " + lenRead
|
||||
+ " Bytes received: ");
|
||||
|
||||
Reference in New Issue
Block a user