Closed etiennelenhart closed 5 years ago
Here is a similar library that has logging of the actions/reducer. They enable logging via a static method, with the ability to add a custom logger.
Not sure how you were planning on implementing the logging, but here i one approach.
I was planning to add a boolean "debug" parameter in EiffelViewModel
so debug mode could be enabled per view model.
An additional static configuration to globally disable logging seems like a good idea.
Thanks for the suggestion.
Resolved by #72.
For easier debugging
EiffelViewModel
should provide adebug
flag that logs allAction
dispatches andState
updates.