JLogAllOutput.cpp 385 B

12345678910111213141516171819202122
  1. #include "JLogAllOutput.h"
  2. #include <qDebug>
  3. #include <CLog.h>
  4. void JLogAllOutput::cmd_debug(const std::string& strLog, int nIndex /*= -1*/)
  5. {
  6. #if 1
  7. qDebug() << strLog.c_str();
  8. PRINT_DEBUG(strLog.c_str(), nIndex);
  9. #endif // 0
  10. }
  11. void JLogAllOutput::cmd_error(const std::string& strLog)
  12. {
  13. #if 1
  14. qDebug() << strLog.c_str();
  15. PRINT_DEBUG(strLog.c_str());
  16. #endif // 0
  17. }