退出登录+机器状态+切换设备+历史作业记录+设备信息
This commit is contained in:
@@ -13,12 +13,12 @@ class SentryLoggerImpl implements ILoggerService {
|
||||
|
||||
@override
|
||||
Future<void> init() async {
|
||||
await SentryFlutter.init((options) {
|
||||
options.dsn = EnvConfig.sentryDsn;
|
||||
options.environment = EnvConfig.environment;
|
||||
// 生产环境只采样 20% 的性能数据,测试环境全开
|
||||
options.tracesSampleRate = EnvConfig.isProduction ? 0.2 : 1.0;
|
||||
});
|
||||
// await SentryFlutter.init((options) {
|
||||
// options.dsn = EnvConfig.sentryDsn;
|
||||
// options.environment = EnvConfig.environment;
|
||||
// // 生产环境只采样 20% 的性能数据,测试环境全开
|
||||
// options.tracesSampleRate = EnvConfig.isProduction ? 0.2 : 1.0;
|
||||
// });
|
||||
await _collectDeviceInfo();
|
||||
|
||||
await _prepareLocalFile();
|
||||
|
||||
Reference in New Issue
Block a user