Skip to content
Permalink
6f9b08ee13
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
32 lines (27 sloc) 530 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, ...);
static Logger* getLogger(Logger* logger);
string getPath();
private:
int logging_Level;
string filename;
string filePath;
FILE* fp;
};
static Logger* logger = logger->getLogger(logger);
#endif