v153 · iterator join

A log formatter

The shape this method is actually for. Raw lines go in, a pipeline of helpers filters and reshapes them one at a time, and join turns the result into the block you paste into an issue — without the intermediate array that pipeline was built to avoid.

Raw lines

The pipeline

Keep which levels?

Formatted


    

The line counter is the honest part: the source generator increments it every time a value is pulled out of it. Tighten the limit and the number drops, because take stops asking — the lines after it are never parsed, never mapped, never seen.

see also