feature/imgui-sdl
points-test
Last change
on this file since 9cd92ae was 6abfd07, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 years ago |
Create a log with a stack-trace when the game crashes
|
-
Property mode
set to
100644
|
File size:
211 bytes
|
Line | |
---|
1 | #ifndef CRASH_LOGGER_H
|
---|
2 | #define CRASH_LOGGER_H
|
---|
3 |
|
---|
4 | #define CRASH_LOG_FILE "crash.log"
|
---|
5 |
|
---|
6 | class CrashLogger {
|
---|
7 | public:
|
---|
8 | CrashLogger(int(*mainFunc)(int, char*[]), int argc, char* argv[]);
|
---|
9 | ~CrashLogger();
|
---|
10 | };
|
---|
11 |
|
---|
12 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.