1. sDebug() 输出更多信息
include
define sDebug() qDebug() << QString(“[%1:%2:%3]: “).arg(FILE).arg(LINE).arg(FUNCTION)
endif // SDEBUG_H
- 使用方法:
-
1. 引入头文件: `#include "sdebug.h"`
-
2. 调用:
```c
sDebug() << "this->statusLoadList.count():" << this->statusLoadList.count();
"[../VPan_1.4/mainwindow.cpp:1856:setStatusBarLoadStatus]: " this->statusLoadList.count(): 4