Background Once upon a time, I wanted to log something that was executed inside the Java stream for debugging purposes. But, I didn't see anything logged there. Solution Put the log inside the peek() method instead of map(). Example Previously, I was...
Markdown supported · ⌘↵ to post
No responses yet.