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.
11 lines
489 B
C
11 lines
489 B
C
2 years ago
|
#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__); \
|
||
|
}
|