more correct logging, use qt logging for qml as well

This commit is contained in:
arcan1s
2015-08-30 16:24:00 +03:00
parent aacb50c946
commit 4c27382467
42 changed files with 635 additions and 598 deletions

View File

@ -26,16 +26,17 @@
#endif /* LOG_FORMAT */
// define info log level
#define isInfoEnabled isDebugEnabled
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
#ifndef qCInfo
#define qCInfo qCDebug
#endif /* qCInfo */
#endif /* QT_VERSION */
Q_DECLARE_LOGGING_CATEGORY(LOG_AW)
Q_DECLARE_LOGGING_CATEGORY(LOG_DP)
Q_DECLARE_LOGGING_CATEGORY(LOG_ESM)
Q_DECLARE_LOGGING_CATEGORY(LOG_LIB)
#endif /* AWDEBUG_H */