Crash-Time Handler
Set Custom Values Before Sending a Crash
void onCrashedHandler(LCQCrashReportWriter *writer) {
writer->addUIntegerElement(writer, "total_memory", [NSProcessInfo processInfo].physicalMemory);
CFTimeInterval timeInSeconds = CFAbsoluteTimeGetCurrent() + kCFAbsoluteTimeIntervalSince1970;
writer->addUIntegerElement(writer, "timestamp", (unsigned long)timeInSeconds);
}[LCQCrashReporting setOnCrashHandler:onCrashedHandler];LCQCrashReporting.onCrashHandler = onCrashedHandlerChecking if the Last Session Crashed
LCQCrashReporting.didLastSessionCrashExporting Crash Data for Additional Insights
Last updated