Pebble: also display debug level in app logs output

This commit is contained in:
Andreas Shimokawa 2016-12-08 23:20:00 +01:00
parent f735739396
commit 313499abd4
1 changed files with 1 additions and 1 deletions

View File

@ -1921,7 +1921,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
int lineNumber = buf.getShort() & 0xffff; int lineNumber = buf.getShort() & 0xffff;
String fileName = getFixedString(buf, 16); String fileName = getFixedString(buf, 16);
String message = getFixedString(buf, messageLength); String message = getFixedString(buf, messageLength);
LOG.debug("APP_LOGS from uuid " + uuid.toString() + " in " + fileName + ":" + lineNumber + " " + message); LOG.debug("APP_LOGS (" + logLevel +") from uuid " + uuid.toString() + " in " + fileName + ":" + lineNumber + " " + message);
} }
private GBDeviceEvent decodeSystemMessage(ByteBuffer buf) { private GBDeviceEvent decodeSystemMessage(ByteBuffer buf) {