update// added filesystem and reformated addressbook

This commit is contained in:
Strider
2020-05-17 13:18:19 +02:00
parent 57a5df8ae7
commit 4f584ac86e
22 changed files with 615 additions and 8 deletions

22
src/Logger/LogWriter.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef LOGWRITER_H
#define LOGWRITER_H
#include <string>
#include <fstream>
#include <sstream>
#include <ctime>
#include "LogType.h"
class LogWriter
{
public:
static LogWriter* getInstance();
std::string logfile = "";
void setLogFile(std::string file);
void write(LogType::TYPE t, std::string message);
private:
static LogWriter* instance;
};
#endif