diff --git a/musikr/src/main/cpp/log.h b/musikr/src/main/cpp/log.h new file mode 100644 index 000000000..c11d3cec0 --- /dev/null +++ b/musikr/src/main/cpp/log.h @@ -0,0 +1,16 @@ +// +// Created by oxycblt on 12/23/24. +// + +#ifndef AUXIO_LOG_H +#define AUXIO_LOG_H + +#include + +#define LOG_TAG "taglib_jni" +#define LOGE(...) \ + ((void)__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)) +#define LOGD(...) \ + ((void)__android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)) + +#endif //AUXIO_LOG_H