Skip to main content

note_status_from_logger

Function note_status_from_logger 

Source
pub fn note_status_from_logger(status: LogStatus)
Expand description

Count a diagnostic record observed by the logger backend, unless it was emitted by a macro (already counted at raise time) or the report is mid-borrow (a raw log call from inside a report_mut! scope must not panic the conversion over a tally increment — matching the logger’s own try_borrow discipline for LOG_BUFFER).