macro_rules! debug_report {
($err:expr, $($rest:expr),+ $(,)?) => { ... };
}
Available on crate feature
tracing
only.Expand description
Log a report for err
at level
DEBUG
(or higher if it is a bug).
§Examples:
use tor_error::debug_report;
debug_report!(err, "Cheese exhausted (ephemeral)");
debug_report!(err, "Unable to parse message {:?}", msg);