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

Debugging mode #60

Closed
etiennelenhart opened this issue Jan 25, 2019 · 3 comments
Closed

Debugging mode #60

etiennelenhart opened this issue Jan 25, 2019 · 3 comments
Milestone

Comments

@etiennelenhart
Copy link
Owner

For easier debugging EiffelViewModel should provide a debug flag that logs all Action dispatches and State updates.

@jordond
Copy link
Contributor

jordond commented Jan 28, 2019

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.

@etiennelenhart
Copy link
Owner Author

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.

@etiennelenhart
Copy link
Owner Author

Resolved by #72.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants