#include "JLogAllOutput.h"
#include <qDebug>
#include <CLog.h>


void JLogAllOutput::cmd_debug(const std::string& strLog, int nIndex /*= -1*/)
{
#if 1
    qDebug() << strLog.c_str();

    PRINT_DEBUG(strLog.c_str(), nIndex);
#endif // 0
}

void JLogAllOutput::cmd_Warning(const std::string& strLog, int nIndex /*= -1*/)
{
#if 1
    qWarning() << strLog.c_str();

    PRINT_DEBUG(strLog.c_str(), nIndex);
#endif // 0
}

void JLogAllOutput::cmd_error(const std::string& strLog)
{
#if 1
    qDebug() << strLog.c_str();

    PRINT_DEBUG(strLog.c_str());
#endif // 0
}