Skip to content
Permalink
edc74e07fe
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
33 lines (28 sloc) 542 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:
Logger(int l_Level);
~Logger();
void log(const char* fmt, ...);
Logger* getLogger();
static string getPath();
private:
static Logger* logger;
int logging_Level;
string filename;
string filePath;
FILE* fp;
};
//static Logger* logger = logger->getLogger(logger);
#endif