#ifndef LOG_H #define LOG_H #include #include #include #include #include #include #include class LogInfo { public: static void recordLog(QString folderPath); private: static void logSysInit(QString filePath); static void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg); static QString m_currtDate; static QString m_folderPath; static QFile* m_fileLog; static char* msgHead[]; }; #endif // LOG_H