69,368
社区成员
发帖
与我相关
我的任务
分享
int myPrint(int iLevel,const char* sFile,const char* sFunction, const char* sLine, const char* sFmt,...)
{
/*函数实现*/
}
#define logInfo(__VA_ARGS__) myPrint(_LEVEL_INFO,__FILE__,__FUNCTION__,__LINE__,__VA_ARGS__)
#define logError(__VA_ARGS__) myPrint(_LEVEL_ERROR,__FILE__,__FUNCTION__,__LINE__,__VA_ARGS__)