+#include <tbm_log.h>
+
+#undef TBM_DBG
+#undef TBM_INFO
+#undef TBM_WRN
+#undef TBM_ERR
+#define TBM_DBG(fmt, args...) tbm_log_print(TBM_LOG_LEVEL_DBG, fmt, ##args)
+#define TBM_INFO(fmt, args...) tbm_log_print(TBM_LOG_LEVEL_INFO, fmt, ##args)
+#define TBM_WRN(fmt, args...) tbm_log_print(TBM_LOG_LEVEL_WRN, fmt, ##args)
+#define TBM_ERR(fmt, args...) tbm_log_print(TBM_LOG_LEVEL_ERR, fmt, ##args)
+
+#define TBM_UT_INFO(fmt, args...) tbm_log_print_stdout(TBM_LOG_LEVEL_INFO, fmt, ##args)
+#define TBM_UT_WRN(fmt, args...) tbm_log_print_stdout(TBM_LOG_LEVEL_WRN, fmt, ##args)
+#define TBM_UT_ERR(fmt, args...) tbm_log_print_stdout(TBM_LOG_LEVEL_ERR, fmt, ##args)