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

OR-5276 Debugging:: Printing events #130

Merged
merged 1 commit into from
Aug 13, 2023
Merged

OR-5276 Debugging:: Printing events #130

merged 1 commit into from
Aug 13, 2023

Conversation

crazymanish
Copy link
Owner

Context

Printing events

  • Understanding the event flow in asynchronous programs has always been a challenge.
  • It is particularly the case in the context of Combine, as chains of operators in a publisher may not all emit events at the same time.
  • Combine provides a few operators to help with debugging your reactive flows. Knowing them will help you troubleshoot puzzling situations.

In this PR

  • Using print-operator with a prefix
  • Using print-operator with a prefix + custom logging

@crazymanish crazymanish requested review from buh and raihan August 13, 2023 14:36
@crazymanish crazymanish linked an issue Aug 13, 2023 that may be closed by this pull request
@crazymanish crazymanish merged commit ffdc64e into main Aug 13, 2023
@crazymanish crazymanish deleted the OR-5276 branch August 13, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[w28(9july-15july)] Debugging: Printing events
1 participant