feature/imgui-sdl
points-test
|
Last change
on this file since caa2359 was bae0911, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 7 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 |
|
|---|
| 6 | using namespace std;
|
|---|
| 7 |
|
|---|
| 8 | #define GL_LOG_FILE "gl.log"
|
|---|
| 9 |
|
|---|
| 10 | bool restart_gl_log();
|
|---|
| 11 | bool gl_log(const string message, ...);
|
|---|
| 12 | bool gl_log_err(const string message, ...);
|
|---|
| 13 |
|
|---|
| 14 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.