Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the code for more flexible interaction with custom logs. #272

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yelmuratoff
Copy link
Contributor

@yelmuratoff yelmuratoff commented Oct 28, 2024

Description

This PR is just for consideration, the idea is to make interaction with custom logs more flexible.
That is, the ability to define a key when creating a custom log and in the theme and settings parameters to accept a map not with an enam, but with a key that will match the color.
This would be especially convenient if there are users who use the talker and talker_flutter libraries, but make their own implementation of Talker Screen. Now the key is passed as null for custom logs.

Good log added only for example.

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.81%. Comparing base (85264b0) to head (37f4ae1).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #272      +/-   ##
==========================================
- Coverage   98.73%   97.81%   -0.93%     
==========================================
  Files          28       14      -14     
  Lines         555      320     -235     
==========================================
- Hits          548      313     -235     
  Misses          7        7              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yelmuratoff yelmuratoff closed this Nov 5, 2024
@yelmuratoff yelmuratoff reopened this Nov 6, 2024
@Frezyx Frezyx added enhancement New feature or request consideration Awaiting a decision on implementation awaiting On the list for consideration or merge core Related to core packages (talker, talker_logger, talker_flutter) labels Nov 12, 2024
@Frezyx Frezyx linked an issue Nov 13, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting On the list for consideration or merge consideration Awaiting a decision on implementation core Related to core packages (talker, talker_logger, talker_flutter) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add color customization for TalkerLog in TalkerScreen
3 participants