first commit

This commit is contained in:
lidg
2026-08-18 09:40:43 +08:00
commit 0c4fd6844c
70 changed files with 8721 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef LOGSERVICE_H
#define LOGSERVICE_H
#include <QString>
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