首页的权限交接的弹窗(关闭了释放权限)+添加日志过滤功能,支持通过 shouldLog参数控制日志输出

This commit is contained in:
2026-04-29 14:25:46 +08:00
parent c3c9db5447
commit 19add5ad51
8 changed files with 124 additions and 32 deletions

View File

@@ -10,6 +10,7 @@ abstract class ILoggerService {
String message, {
String level = 'INFO', // 'DEBUG', 'INFO', 'WARNING', 'ERROR'
Map<String, dynamic>? data,
bool shouldLog = false, // 默认 false 不打印,传 true 才打印
});
void addBreadcrumb(String message, {String? category});
void setUser(String userId);