INNER CODE UNIT · Dart

debugMode

crazecoder/flutter_bugly · lib/src/flutter_bugly.dart:27

    bool debugMode = kDebugMode, //开启SDK日志
    //android
    int initDelay = 0, // 延迟初始化,单位秒
    String? deviceModel, // 设备型号
    String? appPackage, // App包名
    bool enableCatchAnrTrace = false, //设置anr时是否获取系统trace文件,默认为false
    bool enableRecordAnrMainStack = true, //设置是否获取anr过程中的主线程堆栈,默认为true
    bool isBuglyLogUpload = true, //设置是否上传自定义日志到bugly,默认为true
    //iOS
    double blockMonitorTimeout = 3, //卡顿阀值
    bool unexpectedTerminatingDetectionEnable = true, //非正常退出事件(SIGKILL)
    bool enableBlockMonitor = true, //卡顿监控
    bool symbolicateInProcessEnable = true, //进程内还原符号
    int? reportLogLevel, // 设置自定义日志上报的级别,默认不上报自定义日志
    //ohos
    String? appKey,//必传参数
    String? buildNum,
  }) async {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…