Pure filter functions for the log stream. Extracted here so they can be unit-tested without mounting a LiveView.
Summary
Functions
Filters a list of log lines by device/category filter, then by text.
Returns true if the line passes both the device filter and the text filter.
Types
Functions
Filters a list of log lines by device/category filter, then by text.
filter is :all, :app, or a device serial string.
text is a comma-separated list of search terms (empty string = no filter).
Lines newest-first; order is preserved.
Returns true if the line passes both the device filter and the text filter.