1 #define log_err(fmt...) \ 2 do{ \ 3 if(logErrLevel <= logLevel) \ 4 { \ 5 printf("[ARM]:ERROR!,function:%s,line:%d",__FUNCTION__,__LINE__.); \ 6 printf("## fmt"); \ 7 }while(0)
1 #define log_err(fmt...) \ 2 do{ \ 3 if(logErrLevel <= logLevel) \ 4 { \ 5 printf("[ARM]:ERROR!,function:%s,line:%d",__FUNCTION__,__LINE__.); \ 6 printf("## fmt"); \ 7 }while(0)
转载于:https://www.cnblogs.com/cumtchw/p/10082830.html