21 #define LOG_TRACE_IN(mod, fmt, args...) app_log(mod, __LOG_TRACE__, NULL, "[++%s:%4d]" fmt"\n", __func__, __LINE__, ##args)
22 #define LOG_TRACE_OUT(mod, fmt, args...) app_log(mod, __LOG_TRACE__, NULL, "[--%s:%4d]" fmt"\n", __func__, __LINE__, ##args)
int app_log(char *module, int level, char *prefix, const char *format,...)
Used for defining different logging modules such as warn, error, debug, trace ...