Commit b79c26c6 authored by captainwong's avatar captainwong

MYQINFO

parent b36e44e1
......@@ -10,6 +10,7 @@
#define JLIBQT_QDEBUG_FILE_LINE_VALUE (QString("[") + __FUNCTION__ + " ln" + QString::number(__LINE__) + "]: ")
#define MYQDEBUG qDebug() << JLIBQT_QDEBUG_FILE_LINE_STREAM
#define MYQINFO qInfo() << JLIBQT_QDEBUG_FILE_LINE_STREAM
#define MYQWARN qWarning() << JLIBQT_QDEBUG_FILE_LINE_STREAM
#define MYQCRITICAL qCritical() << JLIBQT_QDEBUG_FILE_LINE_STREAM
......
......@@ -18,7 +18,7 @@ static inline void JLIBQT_MessageOutputFunc(QtMsgType type, const QMessageLogCon
QByteArray localMsg = msg.toLocal8Bit();
switch (type) {
case QtDebugMsg:
JLOG_INFO(localMsg.data());
JLOG_DBUG(localMsg.data());
break;
case QtWarningMsg:
if (!msg.contains("libpng")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment