Skip to content
Permalink
9de731e79f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
35 lines (28 sloc) 550 Bytes
#ifndef LOGGER_HPP
#define LOGGER_HPP
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <time.h>
#include <chrono>
#include <ctime>
#include <windows.h>
using namespace std;
extern class Logger {
public:
string filename;
string filePath;
FILE* fp;
Logger(int l_Level);
~Logger();
void writeLog(const char* fmt, ...);
static Logger* getLogger(Logger* logger);
string getPath();
private:
int logging_Level;
//auto now;
};
static Logger* logger = logger->getLogger(logger);
#endif