Uniform log tags
This commit is contained in:
parent
ed968eb7cc
commit
3334a6d9f6
|
|
@ -9,7 +9,7 @@ import de.robv.android.xposed.XposedHelpers;
|
||||||
|
|
||||||
public class Utils {
|
public class Utils {
|
||||||
|
|
||||||
public static final String LOG_TAG = "EdXposed-Fwk";
|
public static final String LOG_TAG = "EdXposed";
|
||||||
|
|
||||||
public static void logD(Object msg) {
|
public static void logD(Object msg) {
|
||||||
if (BuildConfig.DEBUG)
|
if (BuildConfig.DEBUG)
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
#define LOGW(...)
|
#define LOGW(...)
|
||||||
#define LOGE(...)
|
#define LOGE(...)
|
||||||
#else
|
#else
|
||||||
#define LOG_TAG "EdXposed-YAHFA"
|
#define LOG_TAG "EdXposed"
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
|
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
|
||||||
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN,LOG_TAG,__VA_ARGS__)
|
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN,LOG_TAG,__VA_ARGS__)
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ start_log_cather () {
|
||||||
}
|
}
|
||||||
|
|
||||||
start_verbose_log_catcher () {
|
start_verbose_log_catcher () {
|
||||||
start_log_cather all.log "EdXposed:V EdXposed-Fwk:V EdXposed-dexmaker:V XSharedPreferences:V EdXposed-Bridge:V EdXposed-YAHFA:V EdXposed-Manager:V XposedInstaller:V" true ${LOG_VERBOSE}
|
start_log_cather all.log "EdXposed:V XSharedPreferences:V EdXposed-Bridge:V EdXposed-Manager:V XposedInstaller:V" true ${LOG_VERBOSE}
|
||||||
}
|
}
|
||||||
|
|
||||||
start_bridge_log_catcher () {
|
start_bridge_log_catcher () {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import com.elderdrivers.riru.edxp.sandhook.BuildConfig;
|
||||||
|
|
||||||
public class DexLog {
|
public class DexLog {
|
||||||
|
|
||||||
public static final String TAG = "EdXposed-dexmaker";
|
public static final String TAG = "EdXposed";
|
||||||
|
|
||||||
public static int v(String s) {
|
public static int v(String s) {
|
||||||
return Log.v(TAG, s);
|
return Log.v(TAG, s);
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import com.elderdrivers.riru.edxp.yahfa.BuildConfig;
|
||||||
|
|
||||||
public class DexLog {
|
public class DexLog {
|
||||||
|
|
||||||
public static final String TAG = "EdXposed-dexmaker";
|
public static final String TAG = "EdXposed";
|
||||||
|
|
||||||
public static int v(String s) {
|
public static int v(String s) {
|
||||||
return Log.v(TAG, s);
|
return Log.v(TAG, s);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue