-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
debug
parameter for sample
#977
Comments
The goal you wanted looks interesting, my main concern is that debug code should be implemented by sample, which is way less than optimal. May be this should work through effector/inspect? |
Agree on that. Implementation is not goal, goal is this precious info in grouped logs. It be suited better to log into inspect rather directly writing to console. Also inspect api could be used as single place for custom logic. Yea that make more sense. I guess it would be better to have some kind of meta info, so u can filter(custom logic in inspect) rest of logs and only show necessary info |
Also, mb |
Sounds reasonable, if no one on the team has any other complaints, we'll try to implement it |
Proposal
debug
parameter forsample
to add more insights for debuggingPrecondition:
Something wrong with beautifull sample like:
To debug values then clock is triggered it requires rewriting it in different way:
filter
intosource
filter
as handler + console.log therefn
to remove new unwanted paramethers (bcsfilter
moved tosource
)clock
andtarget
topatronum.debug
Use case
Adding debug will look as this:
And in console i expect to see something like this
The text was updated successfully, but these errors were encountered: