#ifndef LOGGER_H
#define LOGGER_H

#include <string>
#include <fstream>

using namespace std;

#define GL_LOG_FILE "gl.log"
#define LOG_FILE "game.log"

extern ofstream ofs;

bool restart_gl_log();
bool gl_log(const string message, ...);
bool gl_log_err(const string message, ...);

void open_log();
ofstream& get_log();
void close_log();

#endif
