日志打印BUG
This commit is contained in:
2
cache/src/tango_cache_tools.h
vendored
2
cache/src/tango_cache_tools.h
vendored
@@ -7,7 +7,7 @@
|
||||
MESA_handle_runtime_log((handle), (lv), "TANGO_CACHE", "%s:%d, " fmt, __FILE__, __LINE__, ##args)
|
||||
|
||||
#ifdef CACHE_DEBUG_SWITCH
|
||||
#define DBG_CACHE(msg...) do{printf(msg);}while(0)
|
||||
#define DBG_CACHE(fmt, args...) do{printf("%s():%d, " fmt, __FUNCTION__, __LINE__, ##args);}while(0)
|
||||
#else
|
||||
#define DBG_CACHE(msg...)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user