algolia / algolia/algoliasearch-helper-flutter

Package spams too many logs without a way to hide them

Open
#159 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
27
Forks
21
Avg merge
1h 19m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe 🙏**
I'm also using the `logging` package in my app, which this package is using as well.

The package adds many logs that are getting annoying when working on unrelated features. Especially the `_log.fine('received response: $response');` in `algolia_hits_search_service.dart` prints the whole response object, which really spams the debug output. Took me quite a while to locate this as well.

**Describe the solution you'd like 🤔**
Make the logs optional or remove them entirely

Contributor guide

Open the contributing guide

Research direction

Start with algolia_hits_search_service.dart and inspect the _log.fine call that prints the complete response. Determine how logging is currently exposed, then make the requested logging behavior optional or remove the noisy output; done means unrelated app debug output no longer receives these excessive logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
observability
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.