Function loggy::had_errors

source ·
pub fn had_errors() -> bool
Expand description

Return whether there were any calls to error! in the whole program.

This is reset for each test using the test_loggy! macro.