From 74ff50c5ca343b5829287f6e7ee2b916aa29720e Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Sat, 8 Mar 2025 15:11:53 +0100 Subject: reorganise files Sort out code/source files that were mixed with other repository files. No new functional changes. --- Logger/logger.h | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 Logger/logger.h (limited to 'Logger/logger.h') diff --git a/Logger/logger.h b/Logger/logger.h deleted file mode 100644 index 9880c44..0000000 --- a/Logger/logger.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef LOGGER_H -#define LOGGER_H - -#include -#include -#include -#include - -#include "Settings/settingstructure.h" -#include "Core/version.h" -#include "logprimitive.h" - -class Logger -{ -public: - Logger(); - bool init(const QString &applicationPath, - const SettingStructure &settings); - void stop(); - void logEvent(const QString &messageType, - const QString &message); - -private: - // path variables - const QString _logDirectory = "../log"; - const QString _logLabel = "MasterServer-" + SHORT_VER; - QString _logPath = ""; - - // local variables - int _cyclePeriod; - QString _logFileName; - QString _suppressLog; - QString _suppressDisplay; - - // file i/o - QFile _logFile; - -private: - bool cycleLogFile(); - bool openLogFile(); - void closeLogFile(); - bool writeLogFile(const QString message); - -}; - -#endif // LOGGER_H -- cgit v1.2.3