Safir SDK Core
|
Provides methods to start and stop the crash reporting functionality. More...
#include <Safir/Application/CrashReporter.h>
Static Public Member Functions | |
static void | Start () |
Start crash reporter. More... | |
static void | Stop () |
Stop crash reporting. More... | |
Provides methods to start and stop the crash reporting functionality.
|
static |
Start crash reporter.
Calling this function will cause google breakpad to be enabled for the current process. This function should be called as early as is humanly possible! Note that Stop() must be called before the process exits.
You can also use the ScopedCrashReporter RAII class below to get the CrashReporter::Start and CrashReporter::Stop functions to be called automatically, even in case of exceptions.
Referenced by Safir::Application::ScopedCrashReporter::ScopedCrashReporter().
|
static |
Stop crash reporting.
This needs to be called before exiting an application to stop crash reporter if it has been started.
You can also use the ScopedCrashReporter RAII class below to get the CrashReporter::Start and CrashReporter::Stop functions to be called automatically, even in case of exceptions.
Referenced by Safir::Application::ScopedCrashReporter::~ScopedCrashReporter().