You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
490 B
C
12 lines
490 B
C
#include <android/log.h>
|
|
|
|
#define LOG_TAG "CAMERA-SAMPLE"
|
|
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, 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 ASSERT(cond, fmt, ...) \
|
|
if (!(cond)) { \
|
|
__android_log_assert(#cond, LOG_TAG, fmt, ##__VA_ARGS__); \
|
|
}
|
|
|