完成解决日志sentry日志代码被覆盖的问题

完成切换后台App获取列表和TCP连接后数据响应慢的问题。
This commit is contained in:
2026-03-06 13:52:14 +08:00
parent 3b7445e850
commit c39eb6037d
8 changed files with 183 additions and 43 deletions

View File

@@ -6,6 +6,11 @@ abstract class ILoggerService {
bool isWarning = false,
Map<String, dynamic>? data,
});
void logWithLevel(
String message, {
String level = 'INFO', // 'DEBUG', 'INFO', 'WARNING', 'ERROR'
Map<String, dynamic>? data,
});
void addBreadcrumb(String message, {String? category});
void setUser(String userId);
}