Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
739 stars 426 forks source link

Improve logging options #350

Closed renefloor closed 2 years ago

renefloor commented 2 years ago

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)

feature

:arrow_heading_down: What is the current behavior?

Currently there is no way to determine the detail of the logs. It always shows failed downloads.

:new: What is the new behavior (if this is a feature change)?

The new logger can decrease or increase the amount of logs.

:boom: Does this PR introduce a breaking change?

No

:bug: Recommendations for testing

:memo: Links to relevant issues/docs

Fixes

:thinking: Checklist before submitting

codecov[bot] commented 2 years ago

Codecov Report

Merging #350 (d14bfa3) into develop (101c6a1) will increase coverage by 0.17%. The diff coverage is 73.33%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #350      +/-   ##
===========================================
+ Coverage    75.21%   75.39%   +0.17%     
===========================================
  Files           21       22       +1     
  Lines          682      691       +9     
===========================================
+ Hits           513      521       +8     
- Misses         169      170       +1     
Impacted Files Coverage Δ
...cache_info_repositories/cache_info_repository.dart 94.11% <0.00%> (ø)
flutter_cache_manager/lib/src/cache_manager.dart 88.31% <60.00%> (ø)
flutter_cache_manager/lib/src/logger.dart 80.00% <80.00%> (ø)
flutter_cache_manager/lib/src/cache_store.dart 92.55% <100.00%> (+0.16%) :arrow_up:
flutter_cache_manager/lib/src/web/web_helper.dart 95.65% <100.00%> (+0.09%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 101c6a1...d14bfa3. Read the comment docs.