Skip to main content

state_tag

Function state_tag 

Source
fn state_tag(s: i32) -> ColoredString
Expand description

Color the [STATE] tag the same way every printer does it. Picked to match the boot-log feel: green=running healthy, yellow=came up but nothing’s driving it yet, red=problem, dim=quiescent.