enable global debug

This commit is contained in:
Tungstend 2025-02-06 23:28:26 +08:00
parent e366e41d87
commit daef7170b9

View File

@ -6,7 +6,7 @@
#include "mg.h"
#define GLOBAL_DEBUG 0
#define GLOBAL_DEBUG 1
#define LOG() if(DEBUG||GLOBAL_DEBUG) {__android_log_print(ANDROID_LOG_DEBUG, RENDERERNAME, "Use function: %s", __FUNCTION__);printf("Use function: %s\n", __FUNCTION__);write_log("Use function: %s\n", __FUNCTION__);}
#define LOG_D(...) if(DEBUG||GLOBAL_DEBUG) {__android_log_print(ANDROID_LOG_DEBUG, RENDERERNAME, __VA_ARGS__);printf(__VA_ARGS__);printf("\n\n");write_log(__VA_ARGS__);}