jce-manager/src/appDatabase/jce_logger.h
liranbg da009ed027 fix #16
more debugging detailes from mainscreen.cpp
add version variable to .pro
changed location of jcelogger
~still need to add translations
2014-09-23 01:17:05 +03:00

20 lines
374 B
C++

#ifndef JCE_LOGGER_H
#define JCE_LOGGER_H
#include <QMessageLogContext>
#include <QString>
#include <QDateTime>
#include <QFile>
#include <QTextStream>
#define LOG_FILE_NAME "J_M_Log.log"
class jce_logger
{
public:
static void customMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg);
};
#endif // JCE_LOGGER_H