public class LoggerUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggerUtil.AttributeLogWrapper |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
bytesToHex(byte[] bytes) |
static java.lang.String |
commonMacMessage(android.bluetooth.BluetoothGatt gatt) |
static java.lang.String |
commonMacMessage(java.lang.String macAddress) |
static java.lang.String |
getUuidSetToLog(java.util.Set<java.util.UUID> uuidSet) |
static java.lang.String |
getUuidToLog(java.util.UUID uuid) |
static void |
logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
android.bluetooth.BluetoothGattCharacteristic characteristic,
boolean valueMatters) |
static void |
logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status) |
static void |
logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
android.bluetooth.BluetoothGattCharacteristic characteristic,
boolean valueMatters) |
static void |
logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
android.bluetooth.BluetoothGattDescriptor descriptor,
boolean valueMatters) |
static void |
logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
int value) |
static void |
logConnectionUpdateCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
int interval,
int latency,
int timeout) |
static void |
logOperationFinished(Operation operation,
long startTime,
long endTime) |
static void |
logOperationQueued(Operation operation) |
static void |
logOperationRemoved(Operation operation) |
static void |
logOperationRunning(Operation operation) |
static void |
logOperationSkippedBecauseDisposedWhenAboutToRun(Operation operation) |
static void |
logOperationStarted(Operation operation) |
static LoggerUtil.AttributeLogWrapper |
wrap(android.bluetooth.BluetoothGattCharacteristic characteristic,
boolean valueMatters) |
static LoggerUtil.AttributeLogWrapper |
wrap(android.bluetooth.BluetoothGattDescriptor descriptor,
boolean valueMatters) |
public static java.lang.String bytesToHex(byte[] bytes)
public static void logOperationStarted(Operation operation)
public static void logOperationRunning(Operation operation)
public static void logOperationRemoved(Operation operation)
public static void logOperationQueued(Operation operation)
public static void logOperationFinished(Operation operation, long startTime, long endTime)
public static void logOperationSkippedBecauseDisposedWhenAboutToRun(Operation operation)
public static void logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
android.bluetooth.BluetoothGattCharacteristic characteristic,
boolean valueMatters)
public static void logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
android.bluetooth.BluetoothGattCharacteristic characteristic,
boolean valueMatters)
public static void logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
android.bluetooth.BluetoothGattDescriptor descriptor,
boolean valueMatters)
public static void logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status)
public static void logCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
int value)
public static void logConnectionUpdateCallback(java.lang.String callbackName,
android.bluetooth.BluetoothGatt gatt,
int status,
int interval,
int latency,
int timeout)
public static java.lang.String commonMacMessage(android.bluetooth.BluetoothGatt gatt)
public static java.lang.String commonMacMessage(java.lang.String macAddress)
public static LoggerUtil.AttributeLogWrapper wrap(android.bluetooth.BluetoothGattCharacteristic characteristic, boolean valueMatters)
public static LoggerUtil.AttributeLogWrapper wrap(android.bluetooth.BluetoothGattDescriptor descriptor, boolean valueMatters)
public static java.lang.String getUuidToLog(java.util.UUID uuid)
public static java.lang.String getUuidSetToLog(java.util.Set<java.util.UUID> uuidSet)