Baseflow / Baseflow/flutter_cache_manager

More logs

Open
#402 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 🚀 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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the cache manager paths for loading from cache, requesting from remote, and removing cached objects. Identify where constructor parameters are handled and where the existing error-only logs are emitted. Done means configurable log levels and clear logs for each requested cache lifecycle event, with behavior suitable for development and production builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.