pub fn emit_record(status: LogStatus, target: &str, message: &str)Expand description
The ONE emission primitive every diagnostic flows through (DRY pass,
user directive 2026-08-02): count on the emitting thread’s REPORT,
then log with the pre-formatted target, respecting output suppression —
EXCEPT for Error and Fatal records, which are emitted UNCONDITIONALLY
(user decision 2026-08-03): frameworks such as cortex aggregate success
rates from Error:/Fatal: lines, so muting either would hide exactly
the signal they measure. Suppression mutes Debug/Info/Warning only.
The MacroDiagGuard marks the emission so the logger backend does not
count it a second time.