source: opengl-game/CrashLogger.h@ d9b6a1c

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

Print a stack trace in the event of a crash. Currently, the code for this on Windows outputs the stack trace to stderr, not to a log file.

  • Property mode set to 100644
File size: 155 bytes
Line 
1#ifndef CRASH_LOGGER_H
2#define CRASH_LOGGER_H
3
4class CrashLogger {
5public:
6 CrashLogger();
7 ~CrashLogger();
8};
9
10void abortHandler(int signum);
11
12#endif
Note: See TracBrowser for help on using the repository browser.