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

Serializable Talker data #218

Open XanderD99 opened 5 months ago

XanderD99 commented 5 months ago

Update the talker data / talker log class to be more serializable friendly.

Right now Error, Stacktrace and Exception are used as types but those items cannot be serialized/deserialized to for example json. By updating the talker data structure to a more friendly format we could open up a more friendly way of having persistant logs.

For example if we would be able to serialize and deserialize to json we could connect a HiveHistory that keeps track of logs between different start ups of an app. Right now we cannot do this as it is impossible to convert back to TalkerData.

abdelaziz-mahdy commented 2 months ago

i would love this, since i need logs to be saved across restarts to be able to find the crash logs for example.