Baseflow / Baseflow/flutter_cache_manager

More logs

未关闭
#402 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
1

描述

## 🚀 Feature Requests

I would like to have more logs, and be able to change the level from the constructor parameters.

### Contextualize the feature
Currently there are logs only on error.
I would like to be able to configure the cache manager quantity of logs depending of the dev vs prod build

### Describe the feature
I would like to have a clear view when an object was loaded from cache and when it was requested from remote.
I would also like to know when the object was removed from cached.

### Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [x] :robot: Android

贡献指南

打开贡献指南

调研方向

首先跟踪缓存管理器中从缓存加载、从远程请求以及移除缓存对象的路径。确定构造函数参数的处理位置,以及现有仅记录错误的日志输出位置。完成标准是:为每个请求的缓存生命周期事件提供可配置的日志级别和清晰的日志,并确保其行为适用于开发和生产构建。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
mobile
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。