22#define LLOYAL_LOG_DEBUG(...) os_log(OS_LOG_DEFAULT, __VA_ARGS__)
23#define LLOYAL_LOG_INFO(...) os_log_info(OS_LOG_DEFAULT, __VA_ARGS__)
24#define LLOYAL_LOG_WARNING(...) os_log_error(OS_LOG_DEFAULT, __VA_ARGS__)
25#define LLOYAL_LOG_ERROR(...) os_log_fault(OS_LOG_DEFAULT, __VA_ARGS__)
26#elif defined(__ANDROID__)
27#include <android/log.h>
29#define LLOYAL_LOG_DEBUG(...) \
30 __android_log_print(ANDROID_LOG_DEBUG, "lloyal", __VA_ARGS__)
31#define LLOYAL_LOG_INFO(...) \
32 __android_log_print(ANDROID_LOG_INFO, "lloyal", __VA_ARGS__)
33#define LLOYAL_LOG_WARNING(...) \
34 __android_log_print(ANDROID_LOG_WARN, "lloyal", __VA_ARGS__)
35#define LLOYAL_LOG_ERROR(...) \
36 __android_log_print(ANDROID_LOG_ERROR, "lloyal", __VA_ARGS__)
40#define LLOYAL_LOG_DEBUG(...) printf(__VA_ARGS__)
41#define LLOYAL_LOG_INFO(...) printf(__VA_ARGS__)
42#define LLOYAL_LOG_WARNING(...) printf(__VA_ARGS__)
43#define LLOYAL_LOG_ERROR(...) printf(__VA_ARGS__)
48#define LLOYAL_LOG_DEBUG(...) \
51#define LLOYAL_LOG_INFO(...) \
54#define LLOYAL_LOG_WARNING(...) \
57#define LLOYAL_LOG_ERROR(...) \
68static constexpr int N_CTX = 2048;
static constexpr int N_CTX
static constexpr int N_BATCH_INIT
static constexpr int N_BATCH_PROCESS
Boundary Tracker Stub for OSS liblloyal.