source: opengl-game/CrashLogger.h@ 98f06d9

feature/imgui-sdl points-test
Last change on this file since 98f06d9 was d9b6a1c, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 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.