#ifndef LOGGER_H #define LOGGER_H #include #include #include class Logger { private: static QFile* _logFile; static QHash _logTitles; public: Logger(QString fileName = "./DefaultHatefLogFile.log"); ~Logger(); static void makeFinishingLine(); static void messageOutput(QtMsgType type, const QMessageLogContext& context, const QString& msg); }; #endif //LOGGER_H