13#ifndef OPENSHOT_CRASH_HANDLER_H
14#define OPENSHOT_CRASH_HANDLER_H
41 CrashHandler(){
return;};
45 CrashHandler(CrashHandler
const&) =
delete;
48 CrashHandler & operator=(CrashHandler
const&) =
delete;
51 static CrashHandler *m_pInstance;
63 static void abortHandler(
int signum, siginfo_t* si,
void* unused);
Header file for ZeroMQ-based Logger class.
static void abortHandler(int signum, siginfo_t *si, void *unused)
Method which handles crashes and logs error.
static void printStackTrace(FILE *out, unsigned int max_frames)
Method which prints a stacktrace.
static CrashHandler * Instance()
This namespace is the default namespace for all code in the openshot library.