first commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user