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
RevLine 
[22b2c37]1#ifndef LOGGER_H
2#define LOGGER_H
3
[bae0911]4#include <string>
5
6using namespace std;
7
[22b2c37]8#define GL_LOG_FILE "gl.log"
9
10bool restart_gl_log();
[bae0911]11bool gl_log(const string message, ...);
12bool gl_log_err(const string message, ...);
[22b2c37]13
14#endif
Note: See TracBrowser for help on using the repository browser.