mirror of
https://github.com/kdrag0n/safetynet-fix.git
synced 2024-10-04 13:49:51 +00:00
Unify log tags
This commit is contained in:
parent
8026279d03
commit
2f012bfed5
@ -3,7 +3,7 @@ package dev.kdrag0n.safetynetriru
|
||||
import android.util.Log
|
||||
|
||||
private const val DEBUG = true
|
||||
private const val TAG = "SafetyNetRiru/SARU"
|
||||
private const val TAG = "SafetyNetRiru/Java"
|
||||
|
||||
internal fun <T> Any.get(name: String) = this::class.java.getDeclaredField(name).let { field ->
|
||||
field.isAccessible = true
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <android/log.h>
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define DEBUG(...) __android_log_write(ANDROID_LOG_DEBUG, "SafetyNetJNI/SARU", __VA_ARGS__)
|
||||
#define DEBUG(...) __android_log_write(ANDROID_LOG_DEBUG, "SafetyNetRiru/JNI", __VA_ARGS__)
|
||||
#else
|
||||
#define DEBUG(...)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user