-
public class LoggerUtil
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLoggerUtil.AttributeLogWrapper
-
Method Summary
Modifier and Type Method Description static StringbytesToHex(Array<byte> bytes)static voidlogOperationStarted(Operation operation)static voidlogOperationRunning(Operation operation)static voidlogOperationRemoved(Operation operation)static voidlogOperationQueued(Operation operation)static voidlogOperationFinished(Operation operation, long startTime, long endTime)static voidlogOperationSkippedBecauseDisposedWhenAboutToRun(Operation operation)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattCharacteristic characteristic, boolean valueMatters)static voidlogCallback(String callbackName, BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, boolean valueMatters)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattDescriptor descriptor, boolean valueMatters)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status, int value)static voidlogConnectionUpdateCallback(String callbackName, BluetoothGatt gatt, int status, int interval, int latency, int timeout)static StringcommonMacMessage(BluetoothGatt gatt)static StringcommonMacMessage(String macAddress)static LoggerUtil.AttributeLogWrapperwrap(BluetoothGattCharacteristic characteristic, boolean valueMatters)static LoggerUtil.AttributeLogWrapperwrap(BluetoothGattDescriptor descriptor, boolean valueMatters)static StringgetUuidToLog(UUID uuid)static StringgetUuidSetToLog(Set<UUID> uuidSet)-
-
Method Detail
-
bytesToHex
static String bytesToHex(Array<byte> bytes)
-
logOperationStarted
static void logOperationStarted(Operation operation)
-
logOperationRunning
static void logOperationRunning(Operation operation)
-
logOperationRemoved
static void logOperationRemoved(Operation operation)
-
logOperationQueued
static void logOperationQueued(Operation operation)
-
logOperationFinished
static void logOperationFinished(Operation operation, long startTime, long endTime)
-
logOperationSkippedBecauseDisposedWhenAboutToRun
static void logOperationSkippedBecauseDisposedWhenAboutToRun(Operation operation)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattCharacteristic characteristic, boolean valueMatters)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, boolean valueMatters)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattDescriptor descriptor, boolean valueMatters)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status, int value)
-
logConnectionUpdateCallback
static void logConnectionUpdateCallback(String callbackName, BluetoothGatt gatt, int status, int interval, int latency, int timeout)
-
commonMacMessage
static String commonMacMessage(BluetoothGatt gatt)
-
commonMacMessage
static String commonMacMessage(String macAddress)
-
wrap
static LoggerUtil.AttributeLogWrapper wrap(BluetoothGattCharacteristic characteristic, boolean valueMatters)
-
wrap
static LoggerUtil.AttributeLogWrapper wrap(BluetoothGattDescriptor descriptor, boolean valueMatters)
-
getUuidToLog
static String getUuidToLog(UUID uuid)
-
getUuidSetToLog
static String getUuidSetToLog(Set<UUID> uuidSet)
-
-
-
-