Expand description
Stable, greppable log markers that the HIL detect_crash contract keys on.
Treat these as part of the public contract — do not reword without updating
the test harness.
Constants§
- CONSOLE_
DROP - Prefix of the drain’s ring-overrun marker (
<n>B]follows). - CONSOLE_
SHED - Prefix of the drain’s shed-line marker (
<n>B]follows). Distinct fromCONSOLE_DROPon purpose: a shed line is bounded, intended loss, while an overwrite means a queued record was cut. A gate should treat them differently, and one literal for both makes that impossible. - CONSOLE_
TRUNC - Ends a log line cut at the line buffer (see
super::console_line). The kept part is real; what followed it is gone. - DBG_
SELFTEST - Emitted at
debug!level bysuper::init— proves the level filter passes debug when a directive asks for it. HIL asserts it at boot. - IDENTITY
- Logged once at boot by
super::install(theapp-descfeature) — project name, version (or theidentity-enforced git mark), and anapp_elf_sha256prefix. - PANIC
- Emitted by
super::on_panicbefore halt. - PREV_
PANIC - Logged once at boot when a previous-run panic breadcrumb is read back.