source: opengl-game/logger.h@ bae0911

feature/imgui-sdl points-test
Last change on this file since bae0911 was bae0911, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 years ago

Update logging code to send all errors to the log file as well as the console

  • Property mode set to 100644
File size: 221 bytes
Line 
1#ifndef LOGGER_H
2#define LOGGER_H
3
4#include <string>
5
6using namespace std;
7
8#define GL_LOG_FILE "gl.log"
9
10bool restart_gl_log();
11bool gl_log(const string message, ...);
12bool gl_log_err(const string message, ...);
13
14#endif
Note: See TracBrowser for help on using the repository browser.