You've already forked Zygisk-Assistant
mirror of
https://github.com/snake-4/Zygisk-Assistant.git
synced 2025-09-06 06:37:02 +00:00
+ Added a mounts parser implementation using mntent API. + Added logging functions. + Added usermode unmounter which calls unshare pre app-specialization. * Updated module.prop.
16 lines
435 B
C++
16 lines
435 B
C++
#pragma once
|
|
#include <android/log.h>
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
|
|
#ifndef NDEBUG
|
|
static constexpr auto TAG = "ZygiskAssistant/JNI";
|
|
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__)
|
|
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__)
|
|
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, TAG, __VA_ARGS__)
|
|
#else
|
|
#define LOGD(...)
|
|
#define LOGI(...)
|
|
#define LOGE(...)
|
|
#endif
|