36 lines
613 B
C
36 lines
613 B
C
|
|
//
|
|||
|
|
// DFCrashReport+MPaaS.h
|
|||
|
|
// APCrashReporter
|
|||
|
|
//
|
|||
|
|
// Created by shenmo on 5/5/16.
|
|||
|
|
// Copyright © 2016 Alipay. All rights reserved.
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
@protocol DFCrashReportClass <NSObject>
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 上传crash日志
|
|||
|
|
*/
|
|||
|
|
+ (void)uploadCrashReport;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 获取内存中所有的VC
|
|||
|
|
*
|
|||
|
|
* @return 返回包含所有VC的字符串
|
|||
|
|
*/
|
|||
|
|
+ (NSString *) allAliveVc;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 开启Low Memory Crash Log收集服务
|
|||
|
|
*/
|
|||
|
|
+ (void)enableMemoryCrashReport;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 上次程序退出是否是启动闪退
|
|||
|
|
*
|
|||
|
|
* @return BOOL型 YES表示上次程序退出是启动闪退,否则反之
|
|||
|
|
*/
|
|||
|
|
+ (BOOL)isCrashedLastTimeInBootup;
|
|||
|
|
|
|||
|
|
@end
|