#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#ifndef RT_LOG_ENABLE
#define RT_LOG_ENABLE 0
#if RT_LOG_ENABLE
__attribute__((format(printf, 1, 2))) void rt_logf(const char *fmt, ...);
#else
#define rt_logf(fmt, ...)
}