fastflowtransform.log_queue¶
LogLine
dataclass
¶
Single immutable log line with a monotonic sequence index.
Source code in src/fastflowtransform/log_queue.py
9 10 11 12 13 14 | |
LogQueue ¶
Thread-safe line logger that preserves emission order across threads.
Workers enqueue complete lines; the main thread drains and prints them after a level or at the end of the run to avoid interleaving output.
Source code in src/fastflowtransform/log_queue.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | |
put ¶
put(text)
Enqueue a single log line in a thread-safe way.
Source code in src/fastflowtransform/log_queue.py
29 30 31 32 33 34 | |
drain ¶
drain()
Drain all pending lines (in stable order) and return them.
Source code in src/fastflowtransform/log_queue.py
36 37 38 39 40 41 42 43 44 45 46 | |