Close #48 增加从KNI读取KEYRING-ID的功能
This commit is contained in:
@@ -40,6 +40,12 @@ do { fprintf(stderr, fmt "\n", ##__VA_ARGS__); \
|
||||
#define TFE_LOG_DEBUG(handler, fmt, ...) \
|
||||
do { MESA_handle_runtime_log(handler, RLOG_LV_DEBUG, "tfe", fmt, ##__VA_ARGS__); } while(0) \
|
||||
|
||||
#define CHECK_OR_EXIT(condition, fmt, ...) \
|
||||
do { if(!(condition)) { TFE_LOG_ERROR(g_default_logger, fmt, ##__VA_ARGS__); exit(EXIT_FAILURE); } } while(0) \
|
||||
|
||||
#define CHECK_OR_DIE(condition, fmt, ...) \
|
||||
do { if(!(condition)) { TFE_LOG_ERROR(g_default_logger, fmt, ##__VA_ARGS__); abort(); } } while(0) \
|
||||
|
||||
#define TFE_STREAM_LOG_DEBUG(stream, fmt, ...)
|
||||
#define TFE_STREAM_LOG_INFO(stream, fmt, ...)
|
||||
#define TFE_STREAM_LOG_ERROR(stream, fmt, ...)
|
||||
|
||||
Reference in New Issue
Block a user