refactor: remove CrashReporter and related logging components
- Removed CrashReporter interface and its implementation, SentryCrashReporter. - Deleted log buffering functionality and associated LogBuffer class. - Updated LoggerAppLogger to eliminate dependencies on removed components. - Simplified logging structure to focus on AppLogger and sensitive data scrubbing. - Adjusted AppEnv to remove Sentry-related configurations. - Refactored tests to align with the new logging architecture.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/// 应用唯一 Dart 入口。
|
||||
///
|
||||
/// Android、iOS 与 Web 用 `--flavor dev|uat|prod` 选择环境;未提供 flavor
|
||||
/// 的平台(例如 DevEco 的默认 HAP 构建)统一使用 dev。
|
||||
library;
|
||||
|
||||
import 'package:app/bootstrap.dart';
|
||||
import 'package:app/src/bundled_app_env.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart' show appFlavor;
|
||||
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await bootstrap(await loadBundledAppEnv(flavor: appFlavor));
|
||||
}
|
||||
Reference in New Issue
Block a user