20#define EUROC_TRACE(e, ...) U_LOG_IFL_T(e->log_level, __VA_ARGS__)
21#define EUROC_DEBUG(e, ...) U_LOG_IFL_D(e->log_level, __VA_ARGS__)
22#define EUROC_INFO(e, ...) U_LOG_IFL_I(e->log_level, __VA_ARGS__)
23#define EUROC_WARN(e, ...) U_LOG_IFL_W(e->log_level, __VA_ARGS__)
24#define EUROC_ERROR(e, ...) U_LOG_IFL_E(e->log_level, __VA_ARGS__)
25#define EUROC_ASSERT(predicate, ...) \
29 U_LOG(U_LOGGING_ERROR, __VA_ARGS__); \
30 assert(false && "EUROC_ASSERT failed: " #predicate); \
34#define EUROC_ASSERT_(predicate) EUROC_ASSERT(predicate, "Assertion failed " #predicate)
Interface for Euroc driver.
Basic logging functionality.