Frezyx / talker

☎️ Advanced error handler and logger for dart and flutter apps
https://pub.dev/packages/talker
MIT License
478 stars 57 forks source link

Riverpod logger is showing state data in talker_flutter UI #249

Open ArinFaraj opened 1 month ago

ArinFaraj commented 1 month ago

Describe the bug Previously, the riverpod logger had the state duplicated in both message field and in generateTextMessage method. It was printing the state twice by having the state in both places. So i removed the state from the message field in #244. But now the state is no longer visible in the talker_flutter page.

The state should not be in the message field based on the other packages like talker_dio_logger and talker_bloc_logger so the pr was ok. But something is missing, preventing the generateTextMessage data to be visible inside the talker_flutter page.

To Reproduce Steps to reproduce the behavior:

  1. add talker_riverpod_logger to a project
  2. open the talker ui using talker_flutter
  3. look at riverpod logs

Expected behavior The state should be in the log data inside the talker_flutter page