#ifndef LOGSERVICE_H #define LOGSERVICE_H #include class LogService { public: static LogService &instance(); bool record(const QString &type, const QString &module, const QString &action, const QString &content, const QString &status, QString *error = nullptr); private: LogService() = default; LogService(const LogService &) = delete; LogService &operator=(const LogService &) = delete; }; #endif // LOGSERVICE_H