Commit 38d3f13
committed
Let a log host say it has no verbose stream
The logs screen has always offered two streams to unfold between, on the assumption that a host can
always read the whole device log as well as the routed subset. A host that has lost the privileged
backend it reads the device through is reduced to its own process's log, where the two streams would
be the same lines under two names, and the toggle becomes a control that changes nothing.
LogSource gains hasVerboseStream, defaulting to true so every existing host keeps both. The screen
reads it live rather than through the view model, since the backend can come and go while the screen
is open: the toggle disappears with the stream, and a reader left standing on the verbose pane is
moved back to the modules one instead of staring at a stream the host no longer serves.1 parent 35b510c commit 38d3f13
2 files changed
Lines changed: 22 additions & 1 deletion
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
| |||
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
| |||
223 | 231 | | |
224 | 232 | | |
225 | 233 | | |
| 234 | + | |
226 | 235 | | |
227 | 236 | | |
228 | 237 | | |
| |||
560 | 569 | | |
561 | 570 | | |
562 | 571 | | |
| 572 | + | |
563 | 573 | | |
564 | 574 | | |
565 | 575 | | |
566 | 576 | | |
567 | 577 | | |
568 | 578 | | |
569 | 579 | | |
570 | | - | |
| 580 | + | |
571 | 581 | | |
572 | 582 | | |
573 | 583 | | |
| |||
0 commit comments