Initial commit
This commit is contained in:
53
sources/com/afunx/ble/blelitelib/log/BleLiteLog.java
Normal file
53
sources/com/afunx/ble/blelitelib/log/BleLiteLog.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package com.afunx.ble.blelitelib.log;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class BleLiteLog {
|
||||
private static final String TAG = "BleLiteLog";
|
||||
private static final boolean sBleLiteLogTag = true;
|
||||
private static final boolean sDebug = true;
|
||||
|
||||
private BleLiteLog() {
|
||||
}
|
||||
|
||||
public static int d(String str, String str2) {
|
||||
return Log.d(TAG, str + ": " + str2);
|
||||
}
|
||||
|
||||
public static int e(String str, String str2) {
|
||||
return Log.e(TAG, str + ": " + str2);
|
||||
}
|
||||
|
||||
public static int i(String str, String str2) {
|
||||
return Log.i(TAG, str + ": " + str2);
|
||||
}
|
||||
|
||||
public static int v(String str, String str2) {
|
||||
return Log.v(TAG, str + ": " + str2);
|
||||
}
|
||||
|
||||
public static int w(String str, String str2) {
|
||||
return Log.w(TAG, str + ": " + str2);
|
||||
}
|
||||
|
||||
public static int d(String str, String str2, Throwable th) {
|
||||
return Log.d(TAG, str + ": " + str2, th);
|
||||
}
|
||||
|
||||
public static int e(String str, String str2, Throwable th) {
|
||||
return Log.e(TAG, str + ": " + str2, th);
|
||||
}
|
||||
|
||||
public static int i(String str, String str2, Throwable th) {
|
||||
return Log.i(TAG, str + ": " + str2, th);
|
||||
}
|
||||
|
||||
public static int v(String str, String str2, Throwable th) {
|
||||
return Log.v(TAG, str + ": " + str2, th);
|
||||
}
|
||||
|
||||
public static int w(String str, String str2, Throwable th) {
|
||||
return Log.w(TAG, str + ": " + str2, th);
|
||||
}
|
||||
}
|
31
sources/com/afunx/ble/blelitelib/log/BleLogImpl.java
Normal file
31
sources/com/afunx/ble/blelitelib/log/BleLogImpl.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package com.afunx.ble.blelitelib.log;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class BleLogImpl implements IBleLog {
|
||||
@Override // com.afunx.ble.blelitelib.log.IBleLog
|
||||
public int d(String str, String str2) {
|
||||
return Log.d(str, str2);
|
||||
}
|
||||
|
||||
@Override // com.afunx.ble.blelitelib.log.IBleLog
|
||||
public int e(String str, String str2) {
|
||||
return Log.e(str, str2);
|
||||
}
|
||||
|
||||
@Override // com.afunx.ble.blelitelib.log.IBleLog
|
||||
public int i(String str, String str2) {
|
||||
return Log.i(str, str2);
|
||||
}
|
||||
|
||||
@Override // com.afunx.ble.blelitelib.log.IBleLog
|
||||
public int v(String str, String str2) {
|
||||
return Log.v(str, str2);
|
||||
}
|
||||
|
||||
@Override // com.afunx.ble.blelitelib.log.IBleLog
|
||||
public int w(String str, String str2) {
|
||||
return Log.w(str, str2);
|
||||
}
|
||||
}
|
14
sources/com/afunx/ble/blelitelib/log/IBleLog.java
Normal file
14
sources/com/afunx/ble/blelitelib/log/IBleLog.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.afunx.ble.blelitelib.log;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface IBleLog {
|
||||
int d(String str, String str2);
|
||||
|
||||
int e(String str, String str2);
|
||||
|
||||
int i(String str, String str2);
|
||||
|
||||
int v(String str, String str2);
|
||||
|
||||
int w(String str, String str2);
|
||||
}
|
Reference in New Issue
Block a user