add time logging

This commit is contained in:
arcan1s
2015-06-18 00:47:27 +03:00
parent 9be4fe3681
commit 1a4e071b5b
2 changed files with 41 additions and 0 deletions

View File

@ -44,4 +44,10 @@ inline std::string pFuncInfo(const std::string prettyFunction)
#define PDEBUG pDebug(pFuncInfo(__PRETTY_FUNCTION__))
#if QT_VERSION >= 0x050000
#include <QDateTime>
void debugString(QtMsgType type, const QMessageLogContext &context, const QString &msg);
#endif /* QT_VERSION >= 0x050000 */
#endif /* PRETTY_DEBUG_H */