Unify log tags

This commit is contained in:
Danny Lin 2021-09-06 02:26:39 -07:00
parent 8026279d03
commit 2f012bfed5
No known key found for this signature in database
GPG Key ID: 1988FAA1797EE5AC
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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