【Qt】qt打印文件名、函数名、行号

#include <QDebug>
#define MyDebug  qDebug()<<"[FILE:"<<__FILE__<<",LINE"<<__LINE__<<",FUNC"<<__FUNCTION__<<"]

猜你喜欢

转载自blog.csdn.net/u010168781/article/details/79987554
今日推荐