17 lines
607 B
C
17 lines
607 B
C
//
|
|
// Created by Perfare on 2020/7/4.
|
|
//
|
|
|
|
#ifndef ZYGISK_IL2CPPDUMPER_LOG_H
|
|
#define ZYGISK_IL2CPPDUMPER_LOG_H
|
|
|
|
#include <android/log.h>
|
|
|
|
#define LOG_TAG "myinjector"
|
|
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
|
|
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__)
|
|
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
|
|
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
|
|
#define PLOGE(fmt, args...) LOGE(fmt " failed with %d: %s", ##args, errno, strerror(errno))
|
|
#endif //ZYGISK_IL2CPPDUMPER_LOG_H
|