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:
Guangfei.Zhao
2026-09-03 11:39:04 +08:00
parent d786fc31ff
commit 782fba80bc
39 changed files with 192 additions and 1152 deletions
+1 -2
View File
@@ -1,5 +1,5 @@
name: core_logging
description: 日志与崩溃上报的统一入口(AppLogger / CrashReporter),含敏感信息脱敏。
description: 应用日志与敏感信息脱敏。
publish_to: none
version: 0.1.0
resolution: workspace
@@ -13,7 +13,6 @@ dependencies:
sdk: flutter
flutter_riverpod: 3.2.1
logger: ^2.7.0
sentry_flutter: ^9.26.0
dev_dependencies:
flutter_lints: ^6.0.0